Uses of Interface
com.pnfsoftware.jeb.core.units.code.java.IJavaType
Packages that use IJavaType
Package
Description
This package contains types used to publicly access and manipulate JEB's DEX Decompiler (referred
to as
dexdec
) Intermediate Representation (IR) objects.Types used to manipulate
dexdec
-generated (Dex decompiler) Java Abstract Syntax Tree
(AST) objects.-
Uses of IJavaType in com.pnfsoftware.jeb.core.units.code.android.ir
Methods in com.pnfsoftware.jeb.core.units.code.android.ir that return IJavaTypeModifier and TypeMethodDescriptionDTypeInfo.TypingConlict.getCurrentType()
IDAllocObjectInfo.getObjectType()
Retrieve the type of object being allocated.IDExpression.getType()
Get the IR expression type.DTypeInfo.TypingConlict.getWantedType()
Methods in com.pnfsoftware.jeb.core.units.code.android.ir that return types with arguments of type IJavaTypeModifier and TypeMethodDescriptionIDMethodContext.getParametersTypeMap()
Retrieve the type map for the decompiled method.Methods in com.pnfsoftware.jeb.core.units.code.android.ir with parameters of type IJavaTypeModifier and TypeMethodDescriptionvoid
DFormattingContext.appendFormattedType
(IJavaType type) Append a type to this sink.void
DFormattingContext.appendFormattedTypeIf
(IJavaType type) Append a type to this sink if types are to be rendered (seeDFormattingContext.isDisplayTypes()
).boolean
IDGlobalContext.createAllocObjectInfo
(IJavaType objectType) IDState.createArray
(IJavaType type, int len, List<? extends IDImm> initialValues) Create an array.IDGlobalContext.createArrayElt
(IDExpression array, IDExpression index, IJavaType type) Create an array element.default IDArrayElt
IDMethodContext.createArrayElt
(IDExpression array, IDExpression index, IJavaType type) Convenience IR factory method wrapping aroundIDMethodContext.getGlobalContext()
.IDGlobalContext.createCallInfo
(IDIndex methodindex, IDExpression[] arguments, IJavaType returntype, String methodsig, DInvokeType invoketype) IDGlobalContext.createCallInfo
(IDIndex methodindex, List<IDExpression> arguments, IJavaType returntype, String methodsig, DInvokeType invoketype) default IDCallInfo
IDMethodContext.createCallInfo
(IDIndex methodindex, IDExpression[] arguments, IJavaType returntype, String methodsig, DInvokeType invoketype) Convenience IR factory method wrapping aroundIDMethodContext.getGlobalContext()
.default IDCallInfo
IDMethodContext.createCallInfo
(IDIndex methodindex, List<IDExpression> arguments, IJavaType returntype, String methodsig, DInvokeType invoketype) Convenience IR factory method wrapping aroundIDMethodContext.getGlobalContext()
.default IDOperation
IDMethodContext.createCast
(IJavaType casttype, IDExpression e) Convenience IR factory method wrapping aroundIDMethodContext.getGlobalContext()
.IDGlobalContext.createCastOperation
(IJavaType castType, IDExpression exp) Create a cast operation.IDGlobalContext.createConditional
(IJavaType type, IDExpression pred, IDExpression expTrue, IDExpression expFalse) Convenience operation.default IDOperation
IDMethodContext.createConditional
(IJavaType type, IDExpression pred, IDExpression expTrue, IDExpression expFalse) Convenience IR factory method wrapping aroundIDMethodContext.getGlobalContext()
.default IDImm
IDGlobalContext.createConstant
(long rawvalue, IJavaType type) Create immediate constants.Create immediate constants.default IDImm
This convenience IR factory method wraps aroundIDGlobalContext.createImm(long, IJavaType)
.IDGlobalContext.createInstanceField
(IDExpression instance, IDIndex index, IJavaType fieldtype, String fieldname) default IDInstanceField
IDMethodContext.createInstanceField
(IDExpression instance, IDIndex index, IJavaType fieldtype, String fieldname) Convenience IR factory method wrapping aroundIDMethodContext.getGlobalContext()
.IDGlobalContext.createNewArrayInfo
(IJavaType type, IDExpression size, List<IDExpression> initvals) default IDNewArrayInfo
IDMethodContext.createNewArrayInfo
(IJavaType type, IDExpression size, List<IDExpression> initvals) Convenience IR factory method wrapping aroundIDMethodContext.getGlobalContext()
.IDGlobalContext.createNewInfo
(IJavaType objecttype, IJavaType constclasstype, IDIndex constructorindex, IDExpression[] arguments, String methodsig) IDGlobalContext.createNewInfo
(IJavaType objecttype, IJavaType constclasstype, IDIndex constructorindex, List<IDExpression> arguments, String methodsig) default IDNewInfo
IDMethodContext.createNewInfo
(IJavaType objecttype, IJavaType constclasstype, IDIndex constructorindex, IDExpression[] arguments, String methodsig) Convenience IR factory method wrapping aroundIDMethodContext.getGlobalContext()
.default IDNewInfo
IDMethodContext.createNewInfo
(IJavaType objecttype, IJavaType constclasstype, IDIndex constructorindex, List<IDExpression> arguments, String methodsig) Convenience IR factory method wrapping aroundIDMethodContext.getGlobalContext()
.IDGlobalContext.createOperation
(IJavaType type, IDExpression left, IJavaOperator operator, IDExpression right) Create an operation element, such an an arithmetic or bitwise expression, conditional, string concatenation, or cast operation.IDGlobalContext.createOperation
(IJavaType type, JavaOperatorType optype, IDExpression opnd1, IDExpression opnd2) Create an operation element with at most two operands, such an an arithmetic or bitwise expression, string concatenation, or cast operation.default IDOperation
IDMethodContext.createOperation
(IJavaType type, IDExpression left, IJavaOperator operator, IDExpression right) Convenience IR factory method wrapping aroundIDMethodContext.getGlobalContext()
.default IDOperation
IDMethodContext.createOperation
(IJavaType type, JavaOperatorType optype, IDExpression opnd1, IDExpression opnd2) Convenience IR factory method wrapping aroundIDMethodContext.getGlobalContext()
.Create an object reference.IDGlobalContext.createReferenceType
(IDIndex cindex, IJavaType ctype) Create a reference type expression.default IDReferenceType
IDMethodContext.createReferenceType
(IDIndex cindex, IJavaType ctype) Convenience IR factory method wrapping aroundIDMethodContext.getGlobalContext()
.IDMethodContext.createRegisterVar
(int regnum, IJavaType type) Create a variable mapping to a physical Dalvik register (or pair of registers).IDGlobalContext.createStaticField
(IDIndex index, IJavaType fieldtype, String csig, String fieldname) default IDStaticField
IDMethodContext.createStaticField
(IDIndex index, IJavaType fieldtype, String csig, String fieldname) Convenience IR factory method wrapping aroundIDMethodContext.getGlobalContext()
.Create or retrieve a variable.Create or retrieve a variable.IDMethodContext.createVirtualVar
(IJavaType type) Create a virtual variable.IDImm.duplicateWithDifferentType
(IJavaType type) Duplicate this immediate and assign it a different type.boolean
Convenience operation to determine whether this is operation is a cast to the provided type.default boolean
IDExpression.isCastOperation
(IJavaType expectedCastType) void
DTypeInfo.recordConflict
(String msg, IDExpression exp, IJavaType currentType, IJavaType wantedType) boolean
Update the type of an expression.boolean
Update the type of an expression.boolean
Update the type of an expression.Constructors in com.pnfsoftware.jeb.core.units.code.android.ir with parameters of type IJavaTypeModifierConstructorDescriptionTypingConlict
(String msg, IDExpression exp, IJavaType currentType, IJavaType wantedType) -
Uses of IJavaType in com.pnfsoftware.jeb.core.units.code.java
Methods in com.pnfsoftware.jeb.core.units.code.java that return IJavaTypeModifier and TypeMethodDescriptionIJavaType.asWildcardExt()
Retrieve an "extends" wildcard version of this type.IJavaType.asWildcardSup()
Retrieve a "super" wildcard version of this type.IJavaType.compareAndGetMostPrecise
(IJavaType other) IJavaTypeFactory.createArrayType
(IJavaType baseType, int dimensions) Create an array type from a base type.IJavaTypeFactory.createType
(String signature) Create a Java type.IJavaTypeFactory.createWildcardType
(String signature, boolean wildcardExtendsType) Create a wildcard reference type.IJavaType.getArrayElementType()
Get the simplest type of an array type, that is, the type of a 0-dimension array.
Example: [[[I -> IIJavaType.getArrayTypeDimensionBelow()
Get the type of an imaginary array with one dimension less than the current array.
Example: [[[I -> [[IIJavaTypeFactory.getBoolean()
IJavaTypeFactory.getByte()
IJavaOperator.getCastType()
Return the cast type of a cast operator.IJavaTry.getCatchType
(int index) Get the type of exception caught by a catch block.IJavaTypeFactory.getChar()
IJavaField.getClassType()
IJavaMethod.getClassType()
Get the type of the entity containing this method.IJavaStaticField.getClassType()
Get the class type to which the field belongs.JavaOutputSink.getCurrentAnonymousBaseType()
IJavaTypeFactory.getDouble()
IJavaTypeFactory.getDoubleSlotWildcard()
JavaReconEnummap.getEnumerationType()
IJavaTypeFactory.getFloat()
IJavaTypeFactory.getGenericObjectWildcard()
IJavaTypeFactory.getInt()
IJavaTypeFactory.getJavaLangClass()
Convenience method.IJavaTypeFactory.getJavaLangObject()
Convenience method.IJavaTypeFactory.getJavaLangString()
Convenience method.IJavaTypeFactory.getLong()
IJavaMethod.getReturnType()
Get the return type of the method.IJavaTypeFactory.getShort()
IJavaTypeFactory.getSingleSlotWildcard()
IJavaTypeFactory.getSmallIntWildcard()
IJavaClass.getSupertype()
Get the super type.IJavaAnnotation.getType()
Get the annotation type.IJavaCatchBlock.getType()
Retrieve the primary caught type.IJavaClass.getType()
Get the class or interface type.IJavaConstant.getType()
Retrieve the constant type.IJavaDefinition.getType()
Get the identifier type.IJavaField.getType()
Get the field type.IJavaIdentifier.getType()
Get this identifier's type.IJavaNew.getType()
Get the type of object being instantiated.IJavaNewArray.getType()
Get the type of array being instantiated.IJavaTypeReference.getType()
Get the referenced type.JavaReconLambda.getType()
IJavaTypeFactory.getVoid()
IJavaTypeFactory.letterToType
(char typeLetter) static IJavaType[]
JavaTypeUtil.parseFullPrototype
(IDexPrototype proto, IJavaTypeFactory tf) Parse a DEX prototype to an array of IR/ASTType
s.static IJavaType[]
JavaTypeUtil.parseShortyPrototype
(String shorty, IJavaTypeFactory tf) Parse a DEX shorty prototype string to an array of IR/ASTType
s.Parse a type.JavaOutputSink.popAnonymousBaseType()
IJavaTypeFactory.primitiveNameToType
(String name) Retrieve a primtive type from its high-level language name.Methods in com.pnfsoftware.jeb.core.units.code.java that return types with arguments of type IJavaTypeModifier and TypeMethodDescriptionIJavaCatchBlock.getAdditionalCaughtTypes()
For multi-catch (java >= 7), retrieve additional caught types.IJavaCatchBlock.getCaughtTypes()
Retrieve a read-only copy of the list of caught types.IJavaClass.getImplementedInterfaces()
Get the implemented or extended interface types.JavaTypeUtil.parseMethodParameters
(IDexUnit dex, IDexMethod m, IJavaTypeFactory tf) Determine method parameters and register association.Methods in com.pnfsoftware.jeb.core.units.code.java with parameters of type IJavaTypeModifier and TypeMethodDescriptionvoid
IJavaTry.addCatchBlock
(int index, IJavaType type, List<IJavaType> addTypes, IJavaIdentifier ident, IJavaDefinition def, IJavaBlock block) void
IJavaTry.addCatchBlock
(IJavaType type, List<IJavaType> addTypes, IJavaIdentifier ident, IJavaDefinition def, IJavaBlock block) void
boolean
IJavaType.canSetType
(IJavaType otherType, boolean useExternalTypeInfo) Determine whether this type could be replaced by (as in, specialized) the provided other type.IJavaType.compareAndGetMostPrecise
(IJavaType other) boolean
IJavaType.compareSimple
(IJavaType t) Simple comparison: are both types objects (incl.IJavaElementFactory.createAnnotation
(IJavaType type, List<IJavaAnnotationElement> elts) IJavaTypeFactory.createArrayType
(IJavaType baseType, int dimensions) Create an array type from a base type.IJavaElementFactory.createCastOperation
(IJavaType castType, IJavaExpression exp) IJavaOperatorFactory.createCastOperator
(IJavaType casttype) Create cast-to-Object operatorIJavaIdentifierManager.createDefinition
(IJavaType type, String name) Create a new identifier and its definition.IJavaElementFactory.createNew
(IJavaType type, IJavaMethod method) IJavaElementFactory.createNew
(IJavaType type, IJavaMethod method, List<IJavaExpression> arguments) IJavaElementFactory.createNew
(IJavaType type, String msig, List<IJavaExpression> arguments) IJavaElementFactory.createNewArray
(IJavaType type, boolean areSizes, List<IJavaExpression> sizesOrInits) IJavaElementFactory.createNewArray
(IJavaType type, IJavaExpression size) IJavaElementFactory.createStaticField
(IJavaType classType, IJavaField field) IJavaElementFactory.createStaticField
(IJavaType classType, String fsig) IJavaElementFactory.createTypeReference
(IJavaType type) IDynamicContentManager.generatePackageName
(JavaOutputSink out, IJavaType type) boolean
IDynamicContentManager.generateType
(JavaOutputSink out, IJavaType type, boolean isFullyQualified, boolean isDefinition, long constructorItemId) long
IDynamicContentManager.getBestVirtualMethodId
(int methodIndex, IJavaType actualObjecttype, List<Integer> candidateMethodsIndices) boolean
IDynamicContentManager.isAnonymousClass
(IJavaType type) void
JavaOutputSink.pushAnonymousBaseType
(IJavaType type) void
Set or update the annotation type.void
void
Set the referenced type.Method parameters in com.pnfsoftware.jeb.core.units.code.java with type arguments of type IJavaTypeModifier and TypeMethodDescriptionvoid
IJavaTry.addCatchBlock
(int index, IJavaType type, List<IJavaType> addTypes, IJavaIdentifier ident, IJavaDefinition def, IJavaBlock block) void
IJavaTry.addCatchBlock
(IJavaType type, List<IJavaType> addTypes, IJavaIdentifier ident, IJavaDefinition def, IJavaBlock block) void
IJavaCatchBlock.addTypes
(Collection<IJavaType> types) Constructors in com.pnfsoftware.jeb.core.units.code.java with parameters of type IJavaTypeModifierConstructorDescriptionJavaReconEnummap
(IJavaType enumtype) JavaReconLambda
(IJavaType type, String lambdaImplMsig, List<Integer> lambdaParamPositions, Map<IJavaIdentifier, IJavaExpression> lambdaCaptures)