本文整理汇总了Java中org.jf.dexlib2.base.reference.BaseTypeReference类的典型用法代码示例。如果您正苦于以下问题:Java BaseTypeReference类的具体用法?Java BaseTypeReference怎么用?Java BaseTypeReference使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
BaseTypeReference类属于org.jf.dexlib2.base.reference包,在下文中一共展示了BaseTypeReference类的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getExceptionTypeReference
import org.jf.dexlib2.base.reference.BaseTypeReference; //导入依赖的package包/类
@Nullable
@Override
public TypeReference getExceptionTypeReference() {
final String exceptionType = getExceptionType();
if (exceptionType == null) {
return null;
}
return new BaseTypeReference() {
@Nonnull
@Override
public String getType() {
return exceptionType;
}
};
}
示例2: getTypeReference
import org.jf.dexlib2.base.reference.BaseTypeReference; //导入依赖的package包/类
@Nullable @Override public TypeReference getTypeReference() {
return type==null?null:new BaseTypeReference() {
@Nonnull @Override public String getType() {
return type;
}
};
}
示例3: getExceptionTypeReference
import org.jf.dexlib2.base.reference.BaseTypeReference; //导入依赖的package包/类
@Nullable @Override public TypeReference getExceptionTypeReference() {
final String exceptionType = getExceptionType();
if (exceptionType == null) {
return null;
}
return new BaseTypeReference() {
@Nonnull @Override public String getType() {
return exceptionType;
}
};
}
示例4: rewriteTypeReference
import org.jf.dexlib2.base.reference.BaseTypeReference; //导入依赖的package包/类
public static TypeReference rewriteTypeReference(@Nonnull final Rewriter<String> typeRewriter,
@Nonnull final TypeReference typeReference) {
return new BaseTypeReference() {
@Nonnull @Override public String getType() {
return typeRewriter.rewrite(typeReference.getType());
}
};
}
示例5: getTypeReference
import org.jf.dexlib2.base.reference.BaseTypeReference; //导入依赖的package包/类
@Override public TypeReference getTypeReference() {
return type==null?null:new BaseTypeReference() {
@Override public String getType() {
return type;
}
};
}
示例6: getExceptionTypeReference
import org.jf.dexlib2.base.reference.BaseTypeReference; //导入依赖的package包/类
@Override public TypeReference getExceptionTypeReference() {
final String exceptionType = getExceptionType();
if (exceptionType == null) {
return null;
}
return new BaseTypeReference() {
@Override public String getType() {
return exceptionType;
}
};
}
示例7: rewriteTypeReference
import org.jf.dexlib2.base.reference.BaseTypeReference; //导入依赖的package包/类
public static TypeReference rewriteTypeReference( final Rewriter<String> typeRewriter,
final TypeReference typeReference) {
return new BaseTypeReference() {
@Override public String getType() {
return typeRewriter.rewrite(typeReference.getType());
}
};
}
示例8: getTypeReference
import org.jf.dexlib2.base.reference.BaseTypeReference; //导入依赖的package包/类
@Nullable
@Override
public TypeReference getTypeReference() {
return type == null ? null : new BaseTypeReference() {
@Nonnull
@Override
public String getType() {
return type;
}
};
}
示例9: rewriteTypeReference
import org.jf.dexlib2.base.reference.BaseTypeReference; //导入依赖的package包/类
public static TypeReference rewriteTypeReference(@Nonnull final Rewriter<String> typeRewriter,
@Nonnull final TypeReference typeReference) {
return new BaseTypeReference() {
@Nonnull
@Override
public String getType() {
return typeRewriter.rewrite(typeReference.getType());
}
};
}