Home
last modified time | relevance | path

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

12345678910>>...20

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/
DImportDeclaration.java52 private boolean isStatic; field in ImportDeclaration
60 public ImportDeclaration(String name, boolean isStatic, boolean isAsterisk) { in ImportDeclaration() argument
61 this(null, parseName(name), isStatic, isAsterisk); in ImportDeclaration()
65 public ImportDeclaration(Name name, boolean isStatic, boolean isAsterisk) { in ImportDeclaration() argument
66 this(null, name, isStatic, isAsterisk); in ImportDeclaration()
73 … public ImportDeclaration(TokenRange tokenRange, Name name, boolean isStatic, boolean isAsterisk) { in ImportDeclaration() argument
76 setStatic(isStatic); in ImportDeclaration()
110 public boolean isStatic() { in isStatic() method in ImportDeclaration
111 return isStatic; in isStatic()
139 public ImportDeclaration setStatic(final boolean isStatic) { in setStatic() argument
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/body/
DInitializerDeclaration.java47 private boolean isStatic; field in InitializerDeclaration
56 public InitializerDeclaration(boolean isStatic, BlockStmt body) { in InitializerDeclaration() argument
57 this(null, isStatic, body); in InitializerDeclaration()
64 public InitializerDeclaration(TokenRange tokenRange, boolean isStatic, BlockStmt body) { in InitializerDeclaration() argument
66 setStatic(isStatic); in InitializerDeclaration()
89 public boolean isStatic() { in isStatic() method in InitializerDeclaration
90 return isStatic; in isStatic()
108 public InitializerDeclaration setStatic(final boolean isStatic) { in setStatic() argument
109 if (isStatic == this.isStatic) { in setStatic()
112 notifyPropertyChange(ObservableProperty.STATIC, this.isStatic, isStatic); in setStatic()
[all …]
/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/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/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()
63 if (isStatic != that.isStatic) return false; in equals()
75 result = 31 * result + (isStatic ? 1 : 0); in hashCode()
DRobolectricGeneratorAdapter.java17 final boolean isStatic; field in RobolectricGeneratorAdapter
22 this.isStatic = Modifier.isStatic(methodNode.access); in RobolectricGeneratorAdapter()
27 if (isStatic) { in loadThisOrNull()
34 public boolean isStatic() { in isStatic() method in RobolectricGeneratorAdapter
35 return isStatic; in isStatic()
72 if (isStatic()) { in invokeMethod()
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 methodType, boolean isStatic) throws IllegalAccessException { in findShadowMethodHandle() argument
39 return classHandler.findShadowMethodHandle(theClass, name, methodType, isStatic); in findShadowMethodHandle()
/external/skia/src/sksl/ir/
DSkSLIfStatement.cpp20 return std::make_unique<IfStatement>(fOffset, this->isStatic(), this->test()->clone(), in clone()
27 if (this->isStatic()) { in description()
37 std::unique_ptr<Statement> IfStatement::Convert(const Context& context, int offset, bool isStatic, in Convert() argument
45 return IfStatement::Make(context, offset, isStatic, std::move(test), in Convert()
55 std::unique_ptr<Statement> IfStatement::Make(const Context& context, int offset, bool isStatic, in Make() argument
74 if (isStatic || optimize) { in Make()
94 return std::make_unique<IfStatement>(offset, isStatic, std::move(test), in Make()
DSkSLIfStatement.h25 IfStatement(int offset, bool isStatic, std::unique_ptr<Expression> test, in IfStatement() argument
31 , fIsStatic(isStatic) {} in IfStatement()
35 static std::unique_ptr<Statement> Convert(const Context& context, int offset, bool isStatic,
41 static std::unique_ptr<Statement> Make(const Context& context, int offset, bool isStatic,
46 bool isStatic() const { in isStatic() function
DSkSLSwitchStatement.h29 SwitchStatement(int offset, bool isStatic, std::unique_ptr<Expression> value, in SwitchStatement() argument
32 , fIsStatic(isStatic) in SwitchStatement()
42 bool isStatic,
52 bool isStatic,
82 bool isStatic() const { in isStatic() function
DSkSLSwitchStatement.cpp31 this->isStatic(), in clone()
39 if (this->isStatic()) { in description()
169 bool isStatic, in Convert() argument
229 return SwitchStatement::Make(context, offset, isStatic, std::move(value), std::move(cases), in Convert()
235 bool isStatic, in Make() argument
254 if (isStatic || context.fConfig->fSettings.fOptimize) { in Make()
292 if (isStatic && !context.fConfig->fSettings.fPermitInvalidStaticTests) { in Make()
301 return std::make_unique<SwitchStatement>(offset, isStatic, std::move(value), std::move(cases), in Make()
/external/google-java-format/core/src/main/java/com/google/googlejavaformat/java/
DImportOrderer.java127 Comparator.comparing(Import::isStatic, trueFirst()).thenComparing(Import::imported);
136 Comparator.comparing(Import::isStatic, trueFirst())
147 return prev.isStatic() && !curr.isStatic(); in shouldInsertBlankLineGoogle()
155 if (prev.isStatic() && !curr.isStatic()) { in shouldInsertBlankLineAosp()
189 private final boolean isStatic; field in ImportOrderer.Import
192 Import(String imported, String trailing, boolean isStatic) { in Import() argument
195 this.isStatic = isStatic; in Import()
204 boolean isStatic() { in isStatic() method in ImportOrderer.Import
205 return isStatic; in isStatic()
251 if (isStatic()) { in toString()
[all …]
/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()
/external/javassist/src/main/javassist/
DCtNewWrappedMethod.java66 boolean isStatic = Modifier.isStatic(wrappedBody.getModifiers()); in makeBody()
68 int stacksize = makeBody0(clazz, classfile, wrappedBody, isStatic, in makeBody()
71 code.setMaxLocals(isStatic, parameters, 0); in makeBody()
80 boolean isStatic, CtClass[] parameters, in makeBody0() argument
89 if (!isStatic) in makeBody0()
93 (isStatic ? 0 : 1)); in makeBody0()
119 if (isStatic) in makeBody0()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/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/junit/src/main/java/org/junit/runners/model/
DFrameworkMethod.java82 public void validatePublicVoidNoArg(boolean isStatic, List<Throwable> errors) {
83 validatePublicVoid(isStatic, errors);
99 public void validatePublicVoid(boolean isStatic, List<Throwable> errors) {
100 if (isStatic() != isStatic) {
101 String state = isStatic ? "should" : "should not";
/external/javassist/src/main/javassist/compiler/
DMemberCodeGen.java486 boolean isStatic = false; in atCallExpr()
494 if (inStaticMethod || (cached != null && cached.isStatic())) in atCallExpr()
495 isStatic = true; // should be static in atCallExpr()
519 isStatic = true; in atCallExpr()
528 if (inStaticMethod || (cached != null && cached.isStatic())) in atCallExpr()
529 isStatic = true; // should be static in atCallExpr()
551 isStatic = true; in atCallExpr()
568 atMethodCallCore(targetClass, mname, args, isStatic, isSpecial, in atCallExpr()
583 ASTList args, boolean isStatic, boolean isSpecial, in atMethodCallCore() argument
592 if (!isStatic && found != null && found.isStatic()) { 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/lottie/lottie/src/main/java/com/airbnb/lottie/parser/
DAnimatableTransformParser.java143 …return anchorPoint == null || (anchorPoint.isStatic() && anchorPoint.getKeyframes().get(0).startVa… in isAnchorPointIdentity()
149 position.isStatic() && position.getKeyframes().get(0).startValue.equals(0f, 0f)); in isPositionIdentity()
153 …return rotation == null || (rotation.isStatic() && rotation.getKeyframes().get(0).startValue == 0f… in isRotationIdentity()
157 …return scale == null || (scale.isStatic() && scale.getKeyframes().get(0).startValue.equals(1f, 1f)… in isScaleIdentity()
161 return skew == null || (skew.isStatic() && skew.getKeyframes().get(0).startValue == 0f); in isSkewIdentity()
165 …return skewAngle == null || (skewAngle.isStatic() && skewAngle.getKeyframes().get(0).startValue ==… in isSkewAngleIdentity()
/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/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()

12345678910>>...20