org.eclipse.jdt.internal.compiler.classfmt
类 InnerClassInfo

java.lang.Object
  继承者 org.eclipse.jdt.internal.compiler.classfmt.ClassFileStruct
      继承者 org.eclipse.jdt.internal.compiler.classfmt.InnerClassInfo
所有已实现的接口:
IBinaryNestedType

public class InnerClassInfo
extends ClassFileStruct
implements IBinaryNestedType

Describes one entry in the classes table of the InnerClasses attribute. See the inner class specification (The class file attribute "InnerClasses").


构造方法摘要
InnerClassInfo(byte[] classFileBytes, int[] offsets, int offset)
           
 
方法摘要
 char[] getEnclosingTypeName()
          Answer the resolved name of the enclosing type in the class file format as specified in section 4.2 of the Java 2 VM spec.
 int getModifiers()
          Answer an int whose bits are set according the access constants defined by the VM spec.
 char[] getName()
          Answer the resolved name of the member type in the class file format as specified in section 4.2 of the Java 2 VM spec.
 char[] getSourceName()
          Answer the source name of the member type.
 String toString()
          Answer the string representation of the receiver
 
从类 org.eclipse.jdt.internal.compiler.classfmt.ClassFileStruct 继承的方法
doubleAt, floatAt, i4At, i8At, reset, u1At, u2At, u4At, utf8At
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

InnerClassInfo

public InnerClassInfo(byte[] classFileBytes,
                      int[] offsets,
                      int offset)
方法详细信息

getEnclosingTypeName

public char[] getEnclosingTypeName()
Answer the resolved name of the enclosing type in the class file format as specified in section 4.2 of the Java 2 VM spec. For example, java.lang.String is java/lang/String.

指定者:
接口 IBinaryNestedType 中的 getEnclosingTypeName
返回:
char[]

getModifiers

public int getModifiers()
Answer an int whose bits are set according the access constants defined by the VM spec.

指定者:
接口 IBinaryNestedType 中的 getModifiers
返回:
int

getName

public char[] getName()
Answer the resolved name of the member type in the class file format as specified in section 4.2 of the Java 2 VM spec. For example, p1.p2.A.M is p1/p2/A$M.

指定者:
接口 IBinaryNestedType 中的 getName
返回:
char[]

getSourceName

public char[] getSourceName()
Answer the source name of the member type. For example, p1.p2.A.M is M.

返回:
char[]

toString

public String toString()
Answer the string representation of the receiver

覆盖:
Object 中的 toString
返回:
java.lang.String


Copyright © 2013. All Rights Reserved.