/external/dexmaker/src/test/java/com/google/dexmaker/examples/ |
FibonacciMaker.java | 29 import java.lang.reflect.Modifier; 37 dexMaker.declare(fibonacci, fileName, Modifier.PUBLIC, TypeId.OBJECT); 40 Code code = dexMaker.declare(fib, Modifier.PUBLIC | Modifier.STATIC);
|
/external/javassist/src/main/javassist/ |
CtMember.java | 146 buffer.append(Modifier.toString(getModifiers())); 171 if (Modifier.isPublic(mod)) 173 else if (Modifier.isPrivate(mod)) 184 if (!visible && Modifier.isProtected(mod)) 195 * <code>javassist.Modifier</code>. 196 * @see Modifier 203 * @see Modifier
|
Modifier.java | 21 * The Modifier class provides static methods and constants to decode 26 * ones in <code>java.lang.reflect.Modifier</code>. 30 public class Modifier { 49 * modifier. 57 * modifier. 65 * modifier. 81 * modifier. 89 * modifier. 97 * modifier. 105 * modifier [all...] |
CtMethod.java | 58 setModifiers(Modifier.PUBLIC | Modifier.ABSTRACT); 226 return (getModifiers() & Modifier.ABSTRACT) != 0; 239 * If this method is abstract, the abstract modifier is removed
|
/external/javassist/src/main/javassist/bytecode/ |
ClassFilePrinter.java | 19 import javassist.Modifier; 50 out.println(Modifier.toString(mod) + " class " 69 out.println(Modifier.toString(AccessFlag.toModifier(acc)) 81 out.println(Modifier.toString(AccessFlag.toModifier(acc))
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/modifiers/ |
Modifier.java | 9 * This class represents an object's modifier. The modifier object can be varied
16 public abstract class Modifier {
25 /** This variable indicates if the modifier is invalid (<b>true</b>) or not (<b>false</b>). */
29 * This method applies the modifier to the given node.
32 * the node that will have modifier applied
35 * @return the node with applied modifier
40 * This method returns blender's type of modifier.
42 * @return blender's type of modifier
47 Structure modifierData = (Structure)modifierStructure.getFieldValue("modifier");
[all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/bytecode/ |
RobolectricWiringTest.java | 13 import java.lang.reflect.Modifier; 67 if (!Modifier.isPublic(shadowMethod.getModifiers())) { 115 return Modifier.isStatic(implementedMethod.getModifiers()) != Modifier.isStatic(shadowMethod.getModifiers());
|
/frameworks/base/core/java/com/android/internal/os/ |
BinderInternal.java | 30 import java.lang.reflect.Modifier;
|
/frameworks/base/test-runner/src/junit/runner/ |
LoadingTestCollector.java | 47 Modifier.isPublic(testClass.getModifiers()) &&
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/ |
BlenderContext.java | 58 import com.jme3.scene.plugins.blender.modifiers.Modifier;
109 protected Map<Long, List<Modifier>> modifiers = new HashMap<Long, List<Modifier>>();
426 * This method adds a new modifier to the list.
430 * @param modifier
431 * the object's modifier
433 public void addModifier(Long ownerOMA, Modifier modifier) {
434 List<Modifier> objectModifiers = this.modifiers.get(ownerOMA);
436 objectModifiers = new ArrayList<Modifier>();
[all...] |
/cts/tools/dex-tools/src/dex/reader/ |
DexFieldImpl.java | 25 import java.lang.reflect.Modifier; 97 builder.append(Modifier.toString(getModifiers()));
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
SIPObject.java | 35 import java.lang.reflect.Modifier; 97 int modifier = f.getModifiers(); local 98 if ((modifier & Modifier.PRIVATE) == Modifier.PRIVATE) 144 System.out.println("modifier " + modifier); 145 System.out.println("modifier.private " + Modifier.PRIVATE); 188 int modifier = f.getModifiers() local 299 int modifier = f.getModifiers(); local [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/ |
JavaSourceWriter.java | 24 import java.lang.reflect.Modifier; 149 if (Modifier.isAbstract(modifiers)) { 158 modifiers &= Modifier.PUBLIC | Modifier.PROTECTED | Modifier.STATIC; 159 out.append(Modifier.toString(modifiers)).append(' ');
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/bytecode/ |
AndroidTranslator.java | 71 robolectricInternalsCtClass.setModifiers(Modifier.PUBLIC); 98 if (Modifier.isFinal(modifiers)) { 99 ctClass.setModifiers(modifiers & ~Modifier.FINAL); 195 field.setModifiers(java.lang.reflect.Modifier.PUBLIC | java.lang.reflect.Modifier.STATIC); 259 return Modifier.toString(ctMethod.getModifiers()) + " " + ctMethod.getReturnType().getSimpleName() + " " + ctMethod.getLongName(); 268 boolean wasNative = Modifier.isNative(originalModifiers); 269 boolean wasFinal = Modifier.isFinal(originalModifiers); 270 boolean wasAbstract = Modifier.isAbstract(originalModifiers); 279 newModifiers = Modifier.clear(newModifiers, Modifier.NATIVE) [all...] |
/libcore/luni/src/test/java/tests/api/java/lang/reflect/ |
ConstructorTest.java | 26 import java.lang.reflect.Modifier; 228 ((mod & Modifier.PUBLIC) == Modifier.PUBLIC) 229 && ((mod & Modifier.PRIVATE) == 0)); 239 ((mod & Modifier.PRIVATE) == Modifier.PRIVATE) 240 && ((mod & Modifier.PUBLIC) == 0)); 250 ((mod & Modifier.PROTECTED) == Modifier.PROTECTED) 251 && ((mod & Modifier.PUBLIC) == 0)) [all...] |
/cts/tools/signature-tools/src/signature/converter/doclet/ |
DocletToSigConverter.java | 47 import signature.model.Modifier;
147 c.getModifiers().add(Modifier.ABSTRACT);
444 Set<Modifier> modifiers = convertModifiers(member.modifierSpecifier());
449 modifiers.add(Modifier.FINAL);
453 modifiers.add(Modifier.ABSTRACT);
608 private Set<Modifier> convertModifiers(int mod) {
609 Set<Modifier> modifiers = EnumSet.noneOf(Modifier.class);
610 if (java.lang.reflect.Modifier.isAbstract(mod))
611 modifiers.add(Modifier.ABSTRACT); [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/reflect/ |
MethodTest.java | 22 import java.lang.reflect.Modifier; 204 mask = Modifier.PUBLIC | Modifier.STATIC; 209 mask = Modifier.PRIVATE | Modifier.STATIC; 214 mask = (Modifier.PUBLIC | Modifier.STATIC) | Modifier.SYNCHRONIZED; 219 mask = ((Modifier.PUBLIC | Modifier.STATIC) | Modifier.SYNCHRONIZED [all...] |
/libcore/luni/src/main/java/java/lang/reflect/ |
Method.java | 172 int modifier = getModifiers(); local 173 if (modifier != 0) { 174 sb.append(Modifier.toString(modifier & ~(Modifier.BRIDGE + 175 Modifier.VARARGS))).append(' '); 329 return (modifiers & Modifier.VARARGS) != 0; 339 return (modifiers & Modifier.BRIDGE) != 0; 349 return (modifiers & Modifier.SYNTHETIC) != 0; 422 * Returns the modifiers for this method. The {@link Modifier} class shoul [all...] |
Constructor.java | 129 int modifier = getModifiers(); local 130 if (modifier != 0) { 131 sb.append(Modifier.toString(modifier & ~Modifier.VARARGS)).append(' '); 246 return (mods & Modifier.VARARGS) != 0; 258 return (mods & Modifier.SYNTHETIC) != 0; 304 * Returns the modifiers for this constructor. The {@link Modifier} class 309 * @see Modifier 445 StringBuilder result = new StringBuilder(Modifier.toString(getModifiers())) [all...] |
/external/javassist/src/main/javassist/util/proxy/ |
ProxyFactory.java | 23 import java.lang.reflect.Modifier; 747 if (Modifier.isFinal(superClass.getModifiers())) 791 if (!Modifier.isFinal(mod) && !Modifier.isStatic(mod) [all...] |
/external/clang/lib/Basic/ |
Diagnostic.cpp | 27 const char *Modifier, unsigned ML, 437 /// ModifierIs - Return true if the specified modifier matches specified string. 439 static bool ModifierIs(const char *Modifier, unsigned ModifierLen, 441 return StrLen-1 == ModifierLen && !memcmp(Modifier, Str, StrLen-1); 471 /// HandleSelectModifier - Handle the integer 'select' modifier. This is used 484 assert(NextVal != ArgumentEnd && "Value for integer select modifier was" 497 /// HandleIntegerSModifier - Handle the integer 's' modifier. This adds the 506 /// HandleOrdinalModifier - Handle the integer 'ord' modifier. This 585 /// HandlePluralModifier - Handle the integer 'plural' modifier. This is used 695 // placeholder is one of "%0", "%modifier0", or "%modifier{arguments}0" [all...] |
/external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/serializers/ |
ArraySerializer.java | 38 import java.lang.reflect.Modifier; 86 if (Modifier.isFinal(elementClass.getModifiers())) elementSerializer = Serializer.getSerializer(elementClass); 109 if (Modifier.isFinal(elementClass.getModifiers())) elementSerializer = Serializer.getSerializer(elementClass);
|
/external/mockito/src/org/mockito/internal/configuration/injection/ |
PropertyAndSetterInjection.java | 20 import java.lang.reflect.Modifier; 66 return Modifier.isFinal(object.getModifiers()) || Modifier.isStatic(object.getModifiers());
|
/external/nist-sip/java/gov/nist/javax/sip/address/ |
NetObject.java | 91 int modifier = f.getModifiers(); local 92 if ((modifier & Modifier.PRIVATE) == Modifier.PRIVATE) 181 int modifier = f.getModifiers(); local 182 if ((modifier & Modifier.PRIVATE) == Modifier.PRIVATE) 288 int modifier = f.getModifiers(); local 289 if ((modifier & Modifier.PRIVATE) == Modifier.PRIVATE [all...] |
/external/javassist/src/main/javassist/bytecode/analysis/ |
FramePrinter.java | 21 import javassist.Modifier; 66 return Modifier.toString(method.getModifiers()) + " "
|