Class InnerClassesReader
java.lang.Object
com.ibm.wala.shrike.shrikeCT.AttributeReader
com.ibm.wala.shrike.shrikeCT.InnerClassesReader
This class reads InnerClasses attributes.
-
Field Summary
Fields inherited from class com.ibm.wala.shrike.shrikeCT.AttributeReader
attr, cr, length
-
Constructor Summary
ConstructorDescriptionBuild a reader for the attribute 'iter'. -
Method Summary
Modifier and TypeMethodDescriptionint
return the mask of flags recorded in the InnerClasses attribute for a class named s.String[]
return the name of the outer class recorded as the enclosing class for a class named s.int[]
Methods inherited from class com.ibm.wala.shrike.shrikeCT.AttributeReader
checkSize, checkSizeEquals, getClassReader, getRawOffset, getRawSize
-
Constructor Details
-
InnerClassesReader
Build a reader for the attribute 'iter'.- Throws:
InvalidClassFileException
-
-
Method Details
-
getRawTable
public int[] getRawTable()- Returns:
- the raw values that make up this attribute
-
getInnerClasses
- Returns:
- the names of inner classes this attribute holds information about.
- Throws:
InvalidClassFileException
-
getOuterClass
return the name of the outer class recorded as the enclosing class for a class named s. return null if not found.- Throws:
InvalidClassFileException
-
getAccessFlags
return the mask of flags recorded in the InnerClasses attribute for a class named s. return 0 if not found.- Throws:
InvalidClassFileException
-