Package com.ibm.wala.classLoader
Class LanguageImpl
- java.lang.Object
-
- com.ibm.wala.classLoader.LanguageImpl
-
- All Implemented Interfaces:
Language
- Direct Known Subclasses:
JavaLanguage
public abstract class LanguageImpl extends Object implements Language
Common functionality for mostLanguage
implementations.
-
-
Constructor Summary
Constructors Constructor Description LanguageImpl()
LanguageImpl(Language base)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Language
getBaseLanguage()
If this language is "derived" from some other langauge, which one?Set<Language>
getDerivedLanguages()
int
hashCode()
void
registerDerivedLanguage(Language l)
Yuck? Languages are mutable?String
toString()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.ibm.wala.classLoader.Language
getArrayInterfaces, getConstantType, getMetadataToken, getName, getPointerType, getPrimitive, getRootType, getStringType, getThrowableType, inferInvokeExceptions, instructionFactory, isBooleanType, isCharType, isDoubleType, isFloatType, isIntType, isLongType, isMetadataType, isNullType, isStringType, isVoidType, lookupPrimitiveType
-
-
-
-
Constructor Detail
-
LanguageImpl
public LanguageImpl()
-
LanguageImpl
public LanguageImpl(Language base)
-
-
Method Detail
-
getBaseLanguage
public Language getBaseLanguage()
Description copied from interface:Language
If this language is "derived" from some other langauge, which one?- Specified by:
getBaseLanguage
in interfaceLanguage
-
getDerivedLanguages
public Set<Language> getDerivedLanguages()
- Specified by:
getDerivedLanguages
in interfaceLanguage
-
registerDerivedLanguage
public void registerDerivedLanguage(Language l)
Description copied from interface:Language
Yuck? Languages are mutable?- Specified by:
registerDerivedLanguage
in interfaceLanguage
-
-