Home
last modified time | relevance | path

Searched refs:isVarArgs (Results 1 – 25 of 60) sorted by relevance

123

/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/body/
DParameter.java37 private boolean isVarArgs; field in Parameter
52 …mn, int modifiers, List<AnnotationExpr> annotations, Type type, boolean isVarArgs, VariableDeclara… in Parameter() argument
55 setVarArgs(isVarArgs); in Parameter()
72 public boolean isVarArgs() { in isVarArgs() method in Parameter
73 return isVarArgs; in isVarArgs()
81 public void setVarArgs(boolean isVarArgs) { in setVarArgs() argument
82 this.isVarArgs = isVarArgs; in setVarArgs()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/body/
DParameter.java63 private boolean isVarArgs; field in Parameter
96 …er> modifiers, NodeList<AnnotationExpr> annotations, Type type, boolean isVarArgs, NodeList<Annota… in Parameter() argument
97 this(null, modifiers, annotations, type, isVarArgs, varArgsAnnotations, name); in Parameter()
104 …er> modifiers, NodeList<AnnotationExpr> annotations, Type type, boolean isVarArgs, NodeList<Annota… in Parameter() argument
109 setVarArgs(isVarArgs); in Parameter()
133 public boolean isVarArgs() { in isVarArgs() method in Parameter
134 return isVarArgs; in isVarArgs()
152 public Parameter setVarArgs(final boolean isVarArgs) { in setVarArgs() argument
153 if (isVarArgs == this.isVarArgs) { in setVarArgs()
156 notifyPropertyChange(ObservableProperty.VAR_ARGS, this.isVarArgs, isVarArgs); in setVarArgs()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/body/
DParameter.java54 private boolean isVarArgs; field in Parameter
96 boolean isVarArgs, in Parameter() argument
103 setVarArgs(isVarArgs); in Parameter()
124 public boolean isVarArgs() { in isVarArgs() method in Parameter
125 return isVarArgs; in isVarArgs()
137 public Parameter setVarArgs(boolean isVarArgs) { in setVarArgs() argument
138 this.isVarArgs = isVarArgs; in setVarArgs()
/external/mockito/src/main/java/org/mockito/internal/invocation/
DSerializableMethod.java24 private final boolean isVarArgs; field in SerializableMethod
36 isVarArgs = method.isVarArgs(); in SerializableMethod()
56 public boolean isVarArgs() { in isVarArgs() method in SerializableMethod
57 return isVarArgs; in isVarArgs()
DArgumentsProcessor.java25 return expandVarArgs(method.isVarArgs(), args); in expandArgs()
30 private static Object[] expandVarArgs(final boolean isVarArgs, final Object[] args) { in expandVarArgs() argument
31 …if (!isVarArgs || isNullOrEmpty(args) || args[args.length - 1] != null && !args[args.length - 1].g… in expandVarArgs()
DMockitoMethod.java19 boolean isVarArgs(); in isVarArgs() method
/external/smali/smalidea/src/test/java/org/jf/smalidea/
DSmaliMethodTest.java180 Assert.assertTrue(smaliMethod.isVarArgs()); in testVarArgsMethod()
181 Assert.assertFalse(smaliMethod.getParameterList().getParameters()[0].isVarArgs()); in testVarArgsMethod()
182 Assert.assertFalse(smaliMethod.getParameterList().getParameters()[1].isVarArgs()); in testVarArgsMethod()
183 Assert.assertTrue(smaliMethod.getParameterList().getParameters()[2].isVarArgs()); in testVarArgsMethod()
186 Assert.assertTrue(smaliMethod.isVarArgs()); in testVarArgsMethod()
187 Assert.assertFalse(smaliMethod.getParameterList().getParameters()[0].isVarArgs()); in testVarArgsMethod()
188 Assert.assertFalse(smaliMethod.getParameterList().getParameters()[1].isVarArgs()); in testVarArgsMethod()
189 Assert.assertFalse(smaliMethod.getParameterList().getParameters()[2].isVarArgs()); in testVarArgsMethod()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_expected_output/
Dcom_github_javaparser_ast_body_Parameter.txt20 Line 55) setVarArgs(isVarArgs) ==> void
24 Line 73) isVarArgs ==> boolean
27 Line 82) this.isVarArgs = isVarArgs ==> boolean
/external/guava/guava/src/com/google/common/reflect/
DInvokable.java83 public abstract boolean isVarArgs(); in isVarArgs() method in Invokable
225 @Override public final boolean isVarArgs() { in isVarArgs() method in Invokable.MethodInvokable
226 return method.isVarArgs(); in isVarArgs()
306 @Override public final boolean isVarArgs() { in isVarArgs() method in Invokable.ConstructorInvokable
307 return constructor.isVarArgs(); in isVarArgs()
/external/easymock/src/org/easymock/internal/
DInvocation.java45 this.arguments = expandVarArgs(method.isVarArgs(), args); in Invocation()
48 private static Object[] expandVarArgs(final boolean isVarArgs, in expandVarArgs() argument
50 if (!isVarArgs) { in expandVarArgs()
127 if (method.isVarArgs()) { in isPrimitiveParameter()
/external/mockito/src/main/java/org/mockito/internal/stubbing/answers/
DReturnsArgumentAt.java104 return method.isVarArgs() && in wantedArgIndexIsVarargAndSameTypeAsReturnType()
113 if (!invocation.getMethod().isVarArgs()) { in wantedArgumentPositionIsValidForInvocation()
124 if (!invocation.getMethod().isVarArgs()) { in inferArgumentType()
/external/mockito/src/main/java/org/mockito/internal/creation/
DDelegatingMethod.java43 public boolean isVarArgs() { in isVarArgs() method in DelegatingMethod
44 return method.isVarArgs(); in isVarArgs()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_javaparsermodel_declarations_JavaParserParameterDeclaration.txt3 Line 56) wrappedNode.isVarArgs() ==> com.github.javaparser.ast.body.Parameter.isVarArgs()
Dcom_github_javaparser_symbolsolver_reflectionmodel_ReflectionConstructorDeclaration.txt6 Line 57) constructor.isVarArgs() ==> java.lang.reflect.Constructor.isVarArgs()
Dcom_github_javaparser_symbolsolver_reflectionmodel_ReflectionMethodDeclaration.txt14 Line 100) method.isVarArgs() ==> java.lang.reflect.Method.isVarArgs()
Dcom_github_javaparser_symbolsolver_javaparsermodel_declarations_JavaParserSymbolDeclaration.txt26 Line 141) parameter.isVarArgs() ==> com.github.javaparser.ast.body.Parameter.isVarArgs()
/external/mockito/src/test/java/org/mockito/internal/invocation/
DSerializableMethodTest.java49 assertEquals(toStringMethod.isVarArgs(), method.isVarArgs()); in shouldBeAbleToCheckIsArgVargs()
/external/guava/guava-tests/test/com/google/common/reflect/
DInvokableTest.java254 assertFalse(delegate.isVarArgs()); in testPrivateInstanceMethod_isOverridable()
262 assertFalse(delegate.isVarArgs()); in testPrivateFinalInstanceMethod_isOverridable()
269 assertFalse(delegate.isVarArgs()); in testStaticMethod_isOverridable()
277 assertFalse(delegate.isVarArgs()); in testStaticFinalMethod_isFinal()
285 assertFalse(delegate.isVarArgs()); in testConstructor_isOverridablel()
290 assertTrue(delegate.isVarArgs()); in testMethod_isVarArgs()
295 assertTrue(delegate.isVarArgs()); in testConstructor_isVarArgs()
317 assertFalse(delegate.isVarArgs()); in testNonFinalMethodInFinalClass_isOverridable()
/external/apache-commons-bcel/src/main/java/org/apache/bcel/classfile/
DAccessFlags.java212 public final void isVarArgs(final boolean flag) { in isVarArgs() method in AccessFlags
216 public final boolean isVarArgs() { in isVarArgs() method in AccessFlags
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/
DSmaliMethodParameter.java64 @Override public boolean isVarArgs() { in isVarArgs() method in SmaliMethodParameter
65 if (getType().getArrayDimensions() == 0 || !getParentMethod().isVarArgs()) { in isVarArgs()
/external/doclava/src/com/google/doclava/apicheck/
DAbstractMethodInfo.java28 public boolean isVarArgs(); in isVarArgs() method
/external/oj-libjdwp/src/share/classes/com/sun/jdi/
DMethod.java176 boolean isVarArgs(); in isVarArgs() method
/external/oj-libjdwp/src/share/classes/com/sun/tools/jdi/
DMethodImpl.java205 public boolean isVarArgs() { in isVarArgs() method in MethodImpl
369 if (isVarArgs()) { in validateAndPrepareArgumentsForInvoke()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/
DJavaParserParameterDeclaration.java62 return wrappedNode.isVarArgs(); in isVariadic()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionConstructorDeclaration.java62 if (constructor.isVarArgs()) { in getParam()

123