185 |
* public and final, but not an interface. |
* public and final, but not an interface. |
186 |
* |
* |
187 |
* @param klass the Class object that's calling us |
* @param klass the Class object that's calling us |
188 |
|
* @param ignoreInnerClassesAttrib if set, return the real modifiers, not |
189 |
|
* the ones specified in the InnerClasses attribute. |
190 |
* @return the modifiers of this class |
* @return the modifiers of this class |
191 |
* @see Modifer |
* @see Modifer |
192 |
* @since 1.1 |
* @since 1.1 |
193 |
*/ |
*/ |
194 |
static native int getModifiers(Class klass); |
static int getModifiers(Class klass, boolean ignoreInnerClassesAttrib) |
195 |
|
{ |
196 |
|
return getModifiers(klass); |
197 |
|
} |
198 |
|
|
199 |
|
private static native int getModifiers(Class klass); |
200 |
|
|
201 |
/** |
/** |
202 |
* If this is a nested or inner class, return the class that declared it. |
* If this is a nested or inner class, return the class that declared it. |