1 11 package org.eclipse.jdt.core.util; 12 13 29 public interface IClassFileReader { 30 33 int ALL = 0xFFFF; 34 35 38 int CONSTANT_POOL = 0x0001; 39 40 44 int METHOD_INFOS = 0x0002 + CONSTANT_POOL; 45 46 50 int FIELD_INFOS = 0x0004 + CONSTANT_POOL; 51 52 56 int SUPER_INTERFACES = 0x0008 + CONSTANT_POOL; 57 58 62 int CLASSFILE_ATTRIBUTES = 0x0010 + CONSTANT_POOL; 63 64 68 int METHOD_BODIES = 0x0020; 69 70 74 int ALL_BUT_METHOD_BODIES = ALL & ~METHOD_BODIES; 75 76 81 int getAccessFlags(); 82 83 89 IFieldInfo[] getFieldInfos(); 90 91 98 char[][] getInterfaceNames(); 99 100 107 int[] getInterfaceIndexes(); 108 109 114 IInnerClassesAttribute getInnerClassesAttribute(); 115 116 123 IMethodInfo[] getMethodInfos(); 124 125 131 char[] getClassName(); 132 133 139 int getClassIndex(); 140 141 148 char[] getSuperclassName(); 149 150 157 int getSuperclassIndex(); 158 159 164 boolean isClass(); 165 166 171 boolean isInterface(); 172 173 178 ISourceAttribute getSourceFileAttribute(); 179 180 185 IConstantPool getConstantPool(); 186 187 192 int getMinorVersion(); 193 194 199 int getMajorVersion(); 200 201 206 int getAttributeCount(); 207 208 217 IClassFileAttribute[] getAttributes(); 218 219 224 int getMagic(); 225 226 231 int getFieldsCount(); 232 233 238 int getMethodsCount(); 239 } 240 | Popular Tags |