Java 类org.eclipse.jdt.core.util.IInnerClassesAttribute 实例源码

项目:eclipse.jdt.ls    文件:SerialVersionHashOperation.java   
private static int getClassModifiers(IClassFileReader cfReader) {
    IInnerClassesAttribute innerClassesAttribute = cfReader.getInnerClassesAttribute();
    if (innerClassesAttribute != null) {
        IInnerClassesAttributeEntry[] entries = innerClassesAttribute.getInnerClassAttributesEntries();
        for (int i = 0; i < entries.length; i++) {
            IInnerClassesAttributeEntry entry = entries[i];
            char[] innerClassName = entry.getInnerClassName();
            if (innerClassName != null) {
                if (CharOperation.equals(cfReader.getClassName(), innerClassName)) {
                    return entry.getAccessFlags();
                }
            }
        }
    }
    return cfReader.getAccessFlags();
}
项目:Eclipse-Postfix-Code-Completion    文件:SerialVersionHashOperation.java   
private static int getClassModifiers(IClassFileReader cfReader) {
    IInnerClassesAttribute innerClassesAttribute= cfReader.getInnerClassesAttribute();
    if (innerClassesAttribute != null) {
        IInnerClassesAttributeEntry[] entries = innerClassesAttribute.getInnerClassAttributesEntries();
        for (int i= 0; i < entries.length; i++) {
            IInnerClassesAttributeEntry entry = entries[i];
            char[] innerClassName = entry.getInnerClassName();
            if (innerClassName != null) {
                if (CharOperation.equals(cfReader.getClassName(), innerClassName)) {
                    return entry.getAccessFlags();
                }
            }
        }
    }
    return cfReader.getAccessFlags();
}
项目:Eclipse-Postfix-Code-Completion-Juno38    文件:SerialVersionHashOperation.java   
private static int getClassModifiers(IClassFileReader cfReader) {
    IInnerClassesAttribute innerClassesAttribute= cfReader.getInnerClassesAttribute();
    if (innerClassesAttribute != null) {
        IInnerClassesAttributeEntry[] entries = innerClassesAttribute.getInnerClassAttributesEntries();
        for (int i= 0; i < entries.length; i++) {
            IInnerClassesAttributeEntry entry = entries[i];
            char[] innerClassName = entry.getInnerClassName();
            if (innerClassName != null) {
                if (CharOperation.equals(cfReader.getClassName(), innerClassName)) {
                    return entry.getAccessFlags();
                }
            }
        }
    }
    return cfReader.getAccessFlags();
}
项目:Eclipse-Postfix-Code-Completion    文件:ClassFileReader.java   
/**
 * @see IClassFileReader#getInnerClassesAttribute()
 */
public IInnerClassesAttribute getInnerClassesAttribute() {
    return this.innerClassesAttribute;
}
项目:Eclipse-Postfix-Code-Completion-Juno38    文件:ClassFileReader.java   
/**
 * @see IClassFileReader#getInnerClassesAttribute()
 */
public IInnerClassesAttribute getInnerClassesAttribute() {
    return this.innerClassesAttribute;
}