Home
last modified time | relevance | path

Searched refs:isStatic (Results 1 – 25 of 280) sorted by relevance

12345678910>>...12

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/
DImportDeclaration.java54 private boolean isStatic; field in ImportDeclaration
62 public ImportDeclaration(String name, boolean isStatic, boolean isAsterisk) { in ImportDeclaration() argument
63 this(null, parseName(name), isStatic, isAsterisk); in ImportDeclaration()
67 public ImportDeclaration(Name name, boolean isStatic, boolean isAsterisk) { in ImportDeclaration() argument
68 this(null, name, isStatic, isAsterisk); in ImportDeclaration()
75 … public ImportDeclaration(TokenRange tokenRange, Name name, boolean isStatic, boolean isAsterisk) { in ImportDeclaration() argument
78 setStatic(isStatic); in ImportDeclaration()
112 public boolean isStatic() { in isStatic() method in ImportDeclaration
113 return isStatic; in isStatic()
141 public ImportDeclaration setStatic(final boolean isStatic) { in setStatic() argument
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/body/
DInitializerDeclaration.java50 private boolean isStatic; field in InitializerDeclaration
59 public InitializerDeclaration(boolean isStatic, BlockStmt body) { in InitializerDeclaration() argument
60 this(null, isStatic, body); in InitializerDeclaration()
67 public InitializerDeclaration(TokenRange tokenRange, boolean isStatic, BlockStmt body) { in InitializerDeclaration() argument
69 setStatic(isStatic); in InitializerDeclaration()
92 public boolean isStatic() { in isStatic() method in InitializerDeclaration
93 return isStatic; in isStatic()
111 public InitializerDeclaration setStatic(final boolean isStatic) { in setStatic() argument
112 if (isStatic == this.isStatic) { in setStatic()
115 notifyPropertyChange(ObservableProperty.STATIC, this.isStatic, isStatic); in setStatic()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/body/
DInitializerDeclaration.java35 private boolean isStatic; field in InitializerDeclaration
42 public InitializerDeclaration(boolean isStatic, BlockStmt block) { in InitializerDeclaration() argument
44 setStatic(isStatic); in InitializerDeclaration()
48 …ion(int beginLine, int beginColumn, int endLine, int endColumn, boolean isStatic, BlockStmt block)… in InitializerDeclaration() argument
50 setStatic(isStatic); in InitializerDeclaration()
68 public boolean isStatic() { in isStatic() method in InitializerDeclaration
69 return isStatic; in isStatic()
77 public void setStatic(boolean isStatic) { in setStatic() argument
78 this.isStatic = isStatic; in setStatic()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/body/
DInitializerDeclaration.java37 private boolean isStatic; field in InitializerDeclaration
44 public InitializerDeclaration(boolean isStatic, BlockStmt block) { in InitializerDeclaration() argument
46 setStatic(isStatic); in InitializerDeclaration()
50 public InitializerDeclaration(Range range, boolean isStatic, BlockStmt block) { in InitializerDeclaration() argument
52 setStatic(isStatic); in InitializerDeclaration()
70 public boolean isStatic() { in isStatic() method in InitializerDeclaration
71 return isStatic; in isStatic()
80 public InitializerDeclaration setStatic(boolean isStatic) { in setStatic() argument
81 this.isStatic = isStatic; in setStatic()
/external/annotation-tools/annotation-file-utilities/src/annotator/find/
DInInitBlockCriterion.java16 public final boolean isStatic; field in InInitBlockCriterion
19 public InInitBlockCriterion(int blockID, boolean isStatic) { in InInitBlockCriterion() argument
21 this.isStatic = isStatic; in InInitBlockCriterion()
36 if (CommonScanner.isInitBlock(path, isStatic)) { in isSatisfiedBy()
37 int indexInSource = InitBlockScanner.indexOfInitTree(path, isStatic); in isSatisfiedBy()
47 return isStatic ? Kind.IN_STATIC_INIT : Kind.IN_INSTANCE_INIT; in getKind()
52 return "In " + (isStatic ? "static" : "instance") in toString()
/external/annotation-tools/annotation-file-utilities/src/annotator/scanner/
DInitBlockScanner.java17 public static int indexOfInitTree(TreePath path, boolean isStatic) { in indexOfInitTree() argument
21 CommonScanner.findEnclosingInitBlock(path, isStatic).getLeaf(); in indexOfInitTree()
30 bts.scan(path, isStatic); in indexOfInitTree()
45 public Void visitBlock(BlockTree node, Boolean isStatic) { in visitBlock() argument
47 if (!done && isStatic == node.isStatic() in visitBlock()
54 return super.visitBlock(node, isStatic); in visitBlock()
DCommonScanner.java87 public static boolean isInitBlock(TreePath path, boolean isStatic) { in isInitBlock() argument
89 && ((BlockTree) path.getLeaf()).isStatic() == isStatic; in isInitBlock()
99 boolean isStatic) { in findEnclosingInitBlock() argument
100 while (!isInitBlock(path, isStatic)) { in findEnclosingInitBlock()
/external/proguard/src/proguard/evaluation/
DBasicInvocationUnit.java48 private boolean isStatic; field in BasicInvocationUnit
70 boolean isStatic = in enterMethod()
74 int parameterSize = ClassUtil.internalMethodParameterSize(descriptor, isStatic); in enterMethod()
87 if (!isStatic) in enterMethod()
145 isStatic = true; in invokeMember()
150 isStatic = true; in invokeMember()
155 isStatic = false; in invokeMember()
160 isStatic = false; in invokeMember()
166 isStatic = true; in invokeMember()
172 isStatic = false; in invokeMember()
[all …]
/external/jdiff/src/jdiff/
DModifiers.java18 public boolean isStatic = false; field in Modifiers
39 if (isStatic != oModifiers.isStatic) in compareTo()
64 if (isStatic != newModifiers.isStatic) { in diff()
66 if (isStatic) in diff()
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
DInvocationProfile.java8 public final boolean isStatic; field in InvocationProfile
12 …public InvocationProfile(String methodSignatureString, boolean isStatic, ClassLoader classLoader) { in InvocationProfile() argument
17 this.isStatic = isStatic; in InvocationProfile()
49 if (isStatic != that.isStatic) return false; in equals()
61 result = 31 * result + (isStatic ? 1 : 0); in hashCode()
DRobolectricInternals.java29 …public static ClassHandler.Plan methodInvoked(String signature, boolean isStatic, Class<?> theClas… in methodInvoked() argument
30 return classHandler.methodInvoked(signature, isStatic, theClass); in methodInvoked()
38 MethodType type, boolean isStatic) throws IllegalAccessException { in findShadowMethod() argument
39 return classHandler.findShadowMethod(theClass, name, type, isStatic); in findShadowMethod()
/external/javassist/src/main/javassist/
DCtNewWrappedMethod.java57 boolean isStatic = Modifier.isStatic(wrappedBody.getModifiers()); in makeBody()
59 int stacksize = makeBody0(clazz, classfile, wrappedBody, isStatic, in makeBody()
62 code.setMaxLocals(isStatic, parameters, 0); in makeBody()
71 boolean isStatic, CtClass[] parameters, in makeBody0() argument
80 if (!isStatic) in makeBody0()
84 (isStatic ? 0 : 1)); in makeBody0()
110 if (isStatic) in makeBody0()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/
DImportDeclaration.java52 public ImportDeclaration(NameExpr name, boolean isStatic, boolean isAsterisk) { in ImportDeclaration() argument
55 setStatic(isStatic); in ImportDeclaration()
58 …ne, int beginColumn, int endLine, int endColumn, NameExpr name, boolean isStatic, boolean isAsteri… in ImportDeclaration() argument
62 setStatic(isStatic); in ImportDeclaration()
100 public boolean isStatic() { in isStatic() method in ImportDeclaration
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/
DMethodUtil.java64 public static boolean isStatic(@Nonnull Method method) { in isStatic() method in MethodUtil
79 return getParameterRegisterCount(method, MethodUtil.isStatic(method)); in getParameterRegisterCount()
82 …public static int getParameterRegisterCount(@Nonnull MethodReference methodRef, boolean isStatic) { in getParameterRegisterCount() argument
83 return getParameterRegisterCount(methodRef.getParameterTypes(), isStatic); in getParameterRegisterCount()
87 boolean isStatic) { in getParameterRegisterCount() argument
97 if (!isStatic) { in getParameterRegisterCount()
DFieldUtil.java44 return input!=null && isStatic(input);
50 return input!= null && !isStatic(input);
54 public static boolean isStatic(@Nonnull Field field) { in isStatic() method in FieldUtil
/external/junit/src/main/java/org/junit/runners/model/
DFrameworkMethod.java73 public void validatePublicVoidNoArg(boolean isStatic, List<Throwable> errors) {
74 validatePublicVoid(isStatic, errors);
90 public void validatePublicVoid(boolean isStatic, List<Throwable> errors) {
91 if (isStatic() != isStatic) {
92 String state = isStatic ? "should" : "should not";
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_expected_output/
Dcom_github_javaparser_ast_body_InitializerDeclaration.txt10 Line 44) setStatic(isStatic) ==> void
17 Line 50) setStatic(isStatic) ==> void
22 Line 69) isStatic ==> boolean
25 Line 78) this.isStatic = isStatic ==> boolean
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/
DImportDeclaration.java77 public ImportDeclaration(NameExpr name, boolean isStatic, boolean isAsterisk) { in ImportDeclaration() argument
80 setStatic(isStatic); in ImportDeclaration()
84 public ImportDeclaration(Range range, NameExpr name, boolean isStatic, boolean isAsterisk) { in ImportDeclaration() argument
88 setStatic(isStatic); in ImportDeclaration()
138 public boolean isStatic() { in isStatic() method in ImportDeclaration
/external/javassist/src/main/javassist/compiler/
DMemberCodeGen.java453 boolean isStatic = false; in atCallExpr()
461 if (inStaticMethod || (cached != null && cached.isStatic())) in atCallExpr()
462 isStatic = true; // should be static in atCallExpr()
487 isStatic = true; in atCallExpr()
507 isStatic = true; in atCallExpr()
523 atMethodCallCore(targetClass, mname, args, isStatic, isSpecial, in atCallExpr()
538 ASTList args, boolean isStatic, boolean isSpecial, in atMethodCallCore() argument
547 if (!isStatic && found != null && found.isStatic()) { in atMethodCallCore()
549 isStatic = true; in atMethodCallCore()
575 atMethodCallCore2(targetClass, mname, isStatic, isSpecial, in atMethodCallCore()
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
DOdexedFieldInstructionMapper.java55 public final boolean isStatic; field in OdexedFieldInstructionMapper.FieldOpcode
63 this.isStatic = false; in FieldOpcode()
69 …public FieldOpcode(char type, boolean isStatic, @Nonnull Opcode normalOpcode, @Nullable Opcode vol… in FieldOpcode() argument
71 this.isStatic = isStatic; in FieldOpcode()
79 this.isStatic = false; in FieldOpcode()
208 private static boolean isStatic(@Nonnull Opcode opcode) { in isStatic() method in OdexedFieldInstructionMapper
222 [isStatic(fieldOpcode.normalOpcode)?STATIC:INSTANCE] in OdexedFieldInstructionMapper()
237 [isStatic(odexedOpcode)?STATIC:INSTANCE] in getAndCheckDeodexedOpcode()
/external/guava/guava-tests/test/com/google/common/reflect/
DElementTest.java43 assertFalse(element.isStatic()); in testPrivateField()
54 assertFalse(element.isStatic()); in testPackagePrivateField()
65 assertFalse(element.isStatic()); in testProtectedField()
76 assertFalse(element.isStatic()); in testPublicField()
83 assertFalse(element.isStatic()); in testFinalField()
89 assertTrue(element.isStatic()); in testStaticField()
108 assertFalse(element.isStatic()); in testConstructor()
/external/junit/src/main/java/org/junit/internal/runners/
DMethodValidator.java70 boolean isStatic) { in validateTestMethods() argument
74 if (Modifier.isStatic(each.getModifiers()) != isStatic) { in validateTestMethods()
75 String state = isStatic ? "should" : "should not"; in validateTestMethods()
/external/vogar/src/vogar/
DClassAnalyzer.java29 public boolean hasMethod(boolean isStatic, Class<?> returnType, String name, in hasMethod() argument
35 boolean satisfiesStatic = isStatic == Modifier.isStatic(modifier); in hasMethod()
/external/doclava/src/com/google/doclava/
DFieldInfo.java36 boolean isFinal, boolean isStatic, boolean isTransient, boolean isVolatile, in FieldInfo() argument
40 …isPackagePrivate, isPrivate, isFinal, isStatic, isSynthetic, chooseKind(isFinal, isStatic, constan… in FieldInfo()
53 isProtected(), isPackagePrivate(), isPrivate(), isFinal(), isStatic(), isTransient(), in cloneForClass()
58 static String chooseKind(boolean isFinal, boolean isStatic, Object constantValue) in chooseKind() argument
60 return isConstant(isFinal, isStatic, constantValue) ? "constant" : "field"; in chooseKind()
108 static boolean isConstant(boolean isFinal, boolean isStatic, Object constantValue) in isConstant() argument
118 return isFinal && isStatic && (constantValue != null); in isConstant()
122 return isConstant(isFinal(), isStatic(), mConstantValue); in isConstant()
383 data.setValue(base + ".static", isStatic() ? "static" : ""); in makeHDF()
/external/javassist/src/main/javassist/expr/
DFieldAccess.java63 public boolean isStatic() { in isStatic() method in FieldAccess
64 return isStatic(opcode); in isStatic()
67 static boolean isStatic(int c) { in isStatic() method in FieldAccess
196 storeStack(params, isStatic(), paramVar, bytecode); in replace()
244 if (isStatic(opcode)) in doit()
293 if (isStatic(opcode)) in doit()

12345678910>>...12