Class StructClass
- java.lang.Object
-
- org.jetbrains.java.decompiler.struct.StructMember
-
- org.jetbrains.java.decompiler.struct.StructClass
-
public class StructClass extends StructMember
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.StringqualifiedNamePrimitiveConstantsuperClass-
Fields inherited from class org.jetbrains.java.decompiler.struct.StructMember
accessFlags, attributes
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StructClasscreate(DataInputFullStream in, boolean own)java.util.Map<java.lang.String,java.util.Map<VarType,VarType>>getAllGenerics()java.util.List<StructClass>getAllSuperClasses()StructFieldgetField(java.lang.String name, java.lang.String descriptor)VBStyleCollection<StructField,java.lang.String>getFields()java.lang.StringgetInterface(int i)java.lang.String[]getInterfaceNames()int[]getInterfaces()StructMethodgetMethod(java.lang.String key)StructMethodgetMethod(java.lang.String name, java.lang.String descriptor)StructMethodgetMethodRecursive(java.lang.String name, java.lang.String descriptor)VBStyleCollection<StructMethod,java.lang.String>getMethods()ConstantPoolgetPool()java.util.List<StructRecordComponent>getRecordComponents()GenericClassDescriptorgetSignature()BytecodeVersiongetVersion()booleanhasField(java.lang.String name, java.lang.String descriptor)booleanisOwn()voidreleaseResources()java.lang.StringtoString()-
Methods inherited from class org.jetbrains.java.decompiler.struct.StructMember
getAccessFlags, getAttribute, hasAttribute, hasModifier, isSynthetic, readAttribute, readAttributes, readAttributes
-
-
-
-
Field Detail
-
qualifiedName
public final java.lang.String qualifiedName
-
superClass
public final PrimitiveConstant superClass
-
-
Method Detail
-
create
public static StructClass create(DataInputFullStream in, boolean own) throws java.io.IOException
- Throws:
java.io.IOException
-
getVersion
public BytecodeVersion getVersion()
- Specified by:
getVersionin classStructMember
-
hasField
public boolean hasField(java.lang.String name, java.lang.String descriptor)
-
getField
public StructField getField(java.lang.String name, java.lang.String descriptor)
-
getMethod
public StructMethod getMethod(java.lang.String key)
-
getMethod
public StructMethod getMethod(java.lang.String name, java.lang.String descriptor)
-
getMethodRecursive
public StructMethod getMethodRecursive(java.lang.String name, java.lang.String descriptor)
-
getInterface
public java.lang.String getInterface(int i)
-
releaseResources
public void releaseResources()
-
getPool
public ConstantPool getPool()
-
getRecordComponents
public java.util.List<StructRecordComponent> getRecordComponents()
- Returns:
- list of record components; null if this class is not a record
-
getInterfaces
public int[] getInterfaces()
-
getInterfaceNames
public java.lang.String[] getInterfaceNames()
-
getMethods
public VBStyleCollection<StructMethod,java.lang.String> getMethods()
-
getFields
public VBStyleCollection<StructField,java.lang.String> getFields()
-
isOwn
public boolean isOwn()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getSignature
public GenericClassDescriptor getSignature()
-
getAllGenerics
public java.util.Map<java.lang.String,java.util.Map<VarType,VarType>> getAllGenerics()
-
getAllSuperClasses
public java.util.List<StructClass> getAllSuperClasses()
-
-