Interface BytecodeLanguage
- All Superinterfaces:
Language
- All Known Implementing Classes:
JavaLanguage
-
Field Summary
Fields inherited from interface Language
JAVAModifier and TypeFieldDescriptionstatic final JavaLanguageThe canonicalLanguageimplementation for Java -
Method Summary
Modifier and TypeMethodDescriptiongetInvokeMethodReference(ClassLoaderReference loader, IInvokeInstruction instruction) Methods inherited from interface Language
getArrayInterfaces, getBaseLanguage, getConstantType, getDerivedLanguages, getFakeRootMethod, getMetadataToken, getName, getPointerType, getPrimitive, getRootType, getStringType, getThrowableType, inferInvokeExceptions, instructionFactory, isBooleanType, isCharType, isDoubleType, isFloatType, isIntType, isLongType, isMetadataType, isNullType, isStringType, isVoidType, lookupPrimitiveType, makeInducedCFG, makeModVisitor, makeRefVisitor, methodsHaveDeclaredParameterTypes, modelConstant, registerDerivedLanguageModifier and TypeMethodDescriptionget the interfaces implemented by all arrays in the languageIf this language is "derived" from some other langauge, which one?Given a Java constant o, return the appropriate language type to associate with the constant.getFakeRootMethod(IClassHierarchy cha, AnalysisOptions options, IAnalysisCacheView cache) getMetadataToken(Object value) Get the representation of the meta-data corresponding to value.getName()What is the name of the language?getPointerType(TypeReference pointee) getPrimitive(TypeReference reference) get the abstraction of a primitive type to be used for type inferenceWhat is the root type in a type hierarchy for this language? e.g.What is the root type of exceptions in this language? e.g.inferInvokeExceptions(MethodReference target, IClassHierarchy cha) determine the set of possible exception types a call to target may throwbooleanbooleanbooleanbooleanbooleanbooleanbooleanIs t a "metadata" type for the language, i.e., a type describing some other type (e.g., java.lang.Class for Java)?booleanIs t the type of the language's null value? Should return true ift == null(?).booleanbooleanlookupPrimitiveType(String name) Given a source-level primitive type name, get the corresponding "low-level" type name, e.g., the corresponding character to use in a Java method descriptormakeInducedCFG(SSAInstruction[] instructions, IMethod method, Context context) <T extends InstanceKey>
ModRef.ModVisitor<T, ? extends ExtendedHeapModel> makeModVisitor(CGNode n, Collection<PointerKey> result, PointerAnalysis<T> pa, ExtendedHeapModel h, boolean ignoreAllocHeapDefs) <T extends InstanceKey>
ModRef.RefVisitor<T, ? extends ExtendedHeapModel> makeRefVisitor(CGNode n, Collection<PointerKey> result, PointerAnalysis<T> pa, ExtendedHeapModel h) booleando MethodReference objects have declared parameter types?booleanvoidYuck? Languages are mutable?
-
Method Details
-
getImplicitExceptionTypes
-
getInvokeMethodReference
MethodReference getInvokeMethodReference(ClassLoaderReference loader, IInvokeInstruction instruction)
-