Class AbstractMetaMember
java.lang.Object
org.adoptopenjdk.jitwatch.model.AbstractMetaMember
- All Implemented Interfaces:
Comparable<IMetaMember>, IMetaMember
- Direct Known Subclasses:
MetaConstructor, MetaMethod
public abstract class AbstractMetaMember
extends Object
implements IMetaMember, Comparable<IMetaMember>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate List<Compilation> private booleanprotected booleanprotected booleanprotected static final com.chrisnewland.freelogj.Loggerprivate Stringprotected MetaClassprotected intprotected Class<?> private int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAssembly(AssemblyMethod asmMethod) protected voidcheckPolymorphicSignature(Method method) intcompareTo(IMetaMember other) static StringexpandParam(String inParamType, boolean fullyQualifiedType) static StringexpandParamRegEx(String inParamType) getCompilation(int index) getCompilationByAddress(AssemblyMethod asmMethod) getCompilationByCompileID(String compileID) intString[]getQueuedAttribute(String key) booleanbooleanprivate intmakeSafeIndex(int index) booleanmatchesSignature(MemberSignatureParts msp, boolean matchTypesExactly) private booleanprivate booleanvoidsetCompiled(boolean compiled) voidsetSelectedCompilation(int index) voidstoreCompilation(Compilation compilation) toStringUnqualifiedMethodName(boolean visibilityAndReturnType, boolean fqParamTypes)
-
Field Details
-
logger
protected static final com.chrisnewland.freelogj.Logger logger -
metaClass
-
compilations
-
selectedCompilationIndex
private int selectedCompilationIndex -
isCompiled
private boolean isCompiled -
isVarArgs
protected boolean isVarArgs -
isPolymorphicSignature
protected boolean isPolymorphicSignature -
modifier
protected int modifier -
memberName
-
returnType
-
paramTypes
-
-
Constructor Details
-
AbstractMetaMember
-
-
Method Details
-
checkPolymorphicSignature
-
getMemberName
- Specified by:
getMemberNamein interfaceIMetaMember
-
getFullyQualifiedMemberName
- Specified by:
getFullyQualifiedMemberNamein interfaceIMetaMember
-
getAbbreviatedFullyQualifiedMemberName
- Specified by:
getAbbreviatedFullyQualifiedMemberNamein interfaceIMetaMember
-
getModifier
public int getModifier()- Specified by:
getModifierin interfaceIMetaMember
-
getModifierString
- Specified by:
getModifierStringin interfaceIMetaMember
-
nameMatches
-
returnTypeMatches
- Throws:
ClassNotFoundException
-
matchesSignature
- Specified by:
matchesSignaturein interfaceIMetaMember
-
getClassesForParamTypes
private List<Class<?>> getClassesForParamTypes(MemberSignatureParts msp) throws ClassNotFoundException - Throws:
ClassNotFoundException
-
getReturnTypeName
- Specified by:
getReturnTypeNamein interfaceIMetaMember
-
getParamTypeNames
- Specified by:
getParamTypeNamesin interfaceIMetaMember
-
getMemberBytecode
- Specified by:
getMemberBytecodein interfaceIMetaMember
-
getInstructions
- Specified by:
getInstructionsin interfaceIMetaMember
-
getMetaClass
- Specified by:
getMetaClassin interfaceIMetaMember
-
getQueuedAttribute
- Specified by:
getQueuedAttributein interfaceIMetaMember
-
getCompiledAttribute
- Specified by:
getCompiledAttributein interfaceIMetaMember
-
getCompilationByCompileID
- Specified by:
getCompilationByCompileIDin interfaceIMetaMember
-
getCompilationByAddress
- Specified by:
getCompilationByAddressin interfaceIMetaMember
-
storeCompilation
- Specified by:
storeCompilationin interfaceIMetaMember
-
isCompiled
public boolean isCompiled()- Specified by:
isCompiledin interfaceIMetaMember
-
setCompiled
public void setCompiled(boolean compiled) - Specified by:
setCompiledin interfaceIMetaMember
-
getQueuedAttributes
- Specified by:
getQueuedAttributesin interfaceIMetaMember
-
getCompiledAttributes
- Specified by:
getCompiledAttributesin interfaceIMetaMember
-
toStringUnqualifiedMethodName
- Specified by:
toStringUnqualifiedMethodNamein interfaceIMetaMember
-
addAssembly
- Specified by:
addAssemblyin interfaceIMetaMember
-
getCompilations
- Specified by:
getCompilationsin interfaceIMetaMember
-
isConstructor
public boolean isConstructor()- Specified by:
isConstructorin interfaceIMetaMember
-
getSourceMethodSignatureRegEx
- Specified by:
getSourceMethodSignatureRegExin interfaceIMetaMember
-
expandParam
-
expandParamRegEx
-
getLastCompilation
- Specified by:
getLastCompilationin interfaceIMetaMember
-
makeSafeIndex
private int makeSafeIndex(int index) -
getCompilation
- Specified by:
getCompilationin interfaceIMetaMember
-
setSelectedCompilation
public void setSelectedCompilation(int index) - Specified by:
setSelectedCompilationin interfaceIMetaMember
-
getSelectedCompilation
- Specified by:
getSelectedCompilationin interfaceIMetaMember
-
compareTo
- Specified by:
compareToin interfaceComparable<IMetaMember>
-