| /external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/body/ |
| VariableDeclarator.java | 27 import com.github.javaparser.ast.expr.SimpleName; 61 private SimpleName name; 70 this(null, new ClassOrInterfaceType(), new SimpleName(), null); 74 this(null, type, new SimpleName(variableName), null); 77 public VariableDeclarator(Type type, SimpleName name) { 82 this(null, type, new SimpleName(variableName), initializer); 93 public VariableDeclarator(Type type, SimpleName name, Expression initializer) { 101 public VariableDeclarator(TokenRange tokenRange, Type type, SimpleName name, Expression initializer) { 158 public SimpleName getName() { 163 public VariableDeclarator setName(final SimpleName name) [all...] |
| ConstructorDeclaration.java | 28 import com.github.javaparser.ast.expr.SimpleName; 63 this(null, EnumSet.noneOf(Modifier.class), new NodeList<>(), new NodeList<>(), new SimpleName(), new NodeList<>(), new NodeList<>(), new BlockStmt(), null); 67 this(null, EnumSet.of(Modifier.PUBLIC), new NodeList<>(), new NodeList<>(), new SimpleName(name), new NodeList<>(), new NodeList<>(), new BlockStmt(), null); 71 this(null, modifiers, new NodeList<>(), new NodeList<>(), new SimpleName(name), new NodeList<>(), new NodeList<>(), new BlockStmt(), null); 74 public ConstructorDeclaration(EnumSet<Modifier> modifiers, NodeList<AnnotationExpr> annotations, NodeList<TypeParameter> typeParameters, SimpleName name, NodeList<Parameter> parameters, NodeList<ReferenceType> thrownExceptions, BlockStmt body) { 79 public ConstructorDeclaration(EnumSet<Modifier> modifiers, NodeList<AnnotationExpr> annotations, NodeList<TypeParameter> typeParameters, SimpleName name, NodeList<Parameter> parameters, NodeList<ReferenceType> thrownExceptions, BlockStmt body, ReceiverParameter receiverParameter) { 87 public ConstructorDeclaration(TokenRange tokenRange, EnumSet<Modifier> modifiers, NodeList<AnnotationExpr> annotations, NodeList<TypeParameter> typeParameters, SimpleName name, NodeList<Parameter> parameters, NodeList<ReferenceType> thrownExceptions, BlockStmt body, ReceiverParameter receiverParameter) { 136 public ConstructorDeclaration setName(final SimpleName name) {
|
| AnnotationMemberDeclaration.java | 30 import com.github.javaparser.ast.expr.SimpleName; 68 private SimpleName name; 74 this(null, EnumSet.noneOf(Modifier.class), new NodeList<>(), new ClassOrInterfaceType(), new SimpleName(), null); 78 this(null, modifiers, new NodeList<>(), type, new SimpleName(name), defaultValue); 82 public AnnotationMemberDeclaration(EnumSet<Modifier> modifiers, NodeList<AnnotationExpr> annotations, Type type, SimpleName name, Expression defaultValue) { 90 public AnnotationMemberDeclaration(TokenRange tokenRange, EnumSet<Modifier> modifiers, NodeList<AnnotationExpr> annotations, Type type, SimpleName name, Expression defaultValue) { 128 public SimpleName getName() { 173 public AnnotationMemberDeclaration setName(final SimpleName name) { 238 setName((SimpleName) replacementNode);
|
| MethodDeclaration.java | 28 import com.github.javaparser.ast.expr.SimpleName; 71 this(null, EnumSet.noneOf(Modifier.class), new NodeList<>(), new NodeList<>(), new ClassOrInterfaceType(), new SimpleName(), new NodeList<>(), new NodeList<>(), new BlockStmt(), null); 75 this(null, modifiers, new NodeList<>(), new NodeList<>(), type, new SimpleName(name), new NodeList<>(), new NodeList<>(), new BlockStmt(), null); 79 this(null, modifiers, new NodeList<>(), new NodeList<>(), type, new SimpleName(name), parameters, new NodeList<>(), new BlockStmt(), null); 82 public MethodDeclaration(final EnumSet<Modifier> modifiers, final NodeList<AnnotationExpr> annotations, final NodeList<TypeParameter> typeParameters, final Type type, final SimpleName name, final NodeList<Parameter> parameters, final NodeList<ReferenceType> thrownExceptions, final BlockStmt body) { 87 public MethodDeclaration(final EnumSet<Modifier> modifiers, final NodeList<AnnotationExpr> annotations, final NodeList<TypeParameter> typeParameters, final Type type, final SimpleName name, final NodeList<Parameter> parameters, final NodeList<ReferenceType> thrownExceptions, final BlockStmt body, ReceiverParameter receiverParameter) { 95 public MethodDeclaration(final EnumSet<Modifier> modifiers, final NodeList<AnnotationExpr> annotations, final NodeList<TypeParameter> typeParameters, final Type type, final SimpleName name, final boolean isDefault, final NodeList<Parameter> parameters, final NodeList<ReferenceType> thrownExceptions, final BlockStmt body) { 104 public MethodDeclaration(TokenRange tokenRange, EnumSet<Modifier> modifiers, NodeList<AnnotationExpr> annotations, NodeList<TypeParameter> typeParameters, Type type, SimpleName name, NodeList<Parameter> parameters, NodeList<ReferenceType> thrownExceptions, BlockStmt body, ReceiverParameter receiverParameter) { 172 public MethodDeclaration setName(final SimpleName name) {
|
| AnnotationDeclaration.java | 28 import com.github.javaparser.ast.expr.SimpleName; 54 this(null, EnumSet.noneOf(Modifier.class), new NodeList<>(), new SimpleName(), new NodeList<>()); 58 this(null, modifiers, new NodeList<>(), new SimpleName(name), new NodeList<>()); 62 public AnnotationDeclaration(EnumSet<Modifier> modifiers, NodeList<AnnotationExpr> annotations, SimpleName name, NodeList<BodyDeclaration<?>> members) { 70 public AnnotationDeclaration(TokenRange tokenRange, EnumSet<Modifier> modifiers, NodeList<AnnotationExpr> annotations, SimpleName name, NodeList<BodyDeclaration<?>> members) {
|
| EnumDeclaration.java | 29 import com.github.javaparser.ast.expr.SimpleName; 60 this(null, EnumSet.noneOf(Modifier.class), new NodeList<>(), new SimpleName(), new NodeList<>(), new NodeList<>(), new NodeList<>()); 64 this(null, modifiers, new NodeList<>(), new SimpleName(name), new NodeList<>(), new NodeList<>(), new NodeList<>()); 68 public EnumDeclaration(EnumSet<Modifier> modifiers, NodeList<AnnotationExpr> annotations, SimpleName name, NodeList<ClassOrInterfaceType> implementedTypes, NodeList<EnumConstantDeclaration> entries, NodeList<BodyDeclaration<?>> members) { 76 public EnumDeclaration(TokenRange tokenRange, EnumSet<Modifier> modifiers, NodeList<AnnotationExpr> annotations, SimpleName name, NodeList<ClassOrInterfaceType> implementedTypes, NodeList<EnumConstantDeclaration> entries, NodeList<BodyDeclaration<?>> members) {
|
| /external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/type/ |
| ClassOrInterfaceType.java | 27 import com.github.javaparser.ast.expr.SimpleName; 65 private SimpleName name; 71 this(null, null, new SimpleName(), null, new NodeList<>()); 78 this(null, null, new SimpleName(name), null, new NodeList<>()); 82 this(null, scope, new SimpleName(name), null, new NodeList<>()); 85 public ClassOrInterfaceType(final ClassOrInterfaceType scope, final SimpleName name, final NodeList<Type> typeArguments) { 90 public ClassOrInterfaceType(final ClassOrInterfaceType scope, final SimpleName name, final NodeList<Type> typeArguments, final NodeList<AnnotationExpr> annotations) { 98 public ClassOrInterfaceType(TokenRange tokenRange, ClassOrInterfaceType scope, SimpleName name, NodeList<Type> typeArguments, NodeList<AnnotationExpr> annotations) { 119 public SimpleName getName() { 140 public ClassOrInterfaceType setName(final SimpleName name) [all...] |
| /external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ast/ |
| DataKeyTest.java | 24 import com.github.javaparser.ast.expr.SimpleName; 42 Node node = new SimpleName();
|
| /frameworks/base/core/java/android/util/ |
| DebugUtils.java | 115 String simpleName = cls.getClass().getSimpleName(); 116 if (simpleName == null || simpleName.isEmpty()) { 117 simpleName = cls.getClass().getName(); 118 int end = simpleName.lastIndexOf('.'); 120 simpleName = simpleName.substring(end+1); 123 out.append(simpleName);
|
| /frameworks/support/lifecycle/compiler/src/main/kotlin/androidx/lifecycle/ |
| elements_ext.kt | 31 fun ExecutableElement.name() = simpleName.toString() 43 fun syntheticName(method: ExecutableElement) = "$SYNTHETIC${method.simpleName}"
|
| /frameworks/support/room/compiler/src/main/kotlin/androidx/room/vo/ |
| Dao.kt | 56 path.add(ClassName.get(enclosing as TypeElement).simpleName()) 59 path.reversed().joinToString("_") + "${typeName.simpleName()}${suffix}_Impl"
|
| CustomTypeConverter.kt | 35 val methodName by lazy { method.simpleName.toString() }
|
| /external/junit/src/main/java/org/junit/internal/builders/ |
| AnnotatedBuilder.java | 110 String simpleName = runnerClass.getSimpleName(); 112 CONSTRUCTOR_ERROR_FORMAT, simpleName, simpleName));
|
| /external/turbine/javatests/com/google/turbine/bytecode/sig/ |
| SigRegressionTest.java | 40 assertThat(Iterables.getOnlyElement(bound.classes()).simpleName()).isEqualTo("Object"); 43 assertThat(Iterables.getOnlyElement(sig.superClass().classes()).simpleName()) 50 assertThat(simple.simpleName()).isEqualTo("Collection");
|
| /external/turbine/java/com/google/turbine/bytecode/sig/ |
| Sig.java | 127 private final String simpleName; 130 public SimpleClassTySig(String simpleName, ImmutableList<TySig> tyArgs) { 132 this.simpleName = simpleName; 141 public String simpleName() { 142 return simpleName;
|
| /external/javaparser/javaparser-core/src/main/javacc/ |
| java.jj | [all...] |
| /external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/ |
| Issue1364.java | 11 import com.github.javaparser.ast.expr.SimpleName; 37 fakeObject.setName(new SimpleName("java.lang.Object"));
|
| /external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/printer/ |
| JsonPrinterTest.java | 26 assertEquals("{\"type\":\"MethodCallExpr\",\"name\":{\"type\":\"SimpleName\",\"identifier\":\"x\"},\"arguments\":[{\"type\":\"IntegerLiteralExpr\",\"value\":\"1\"},{\"type\":\"IntegerLiteralExpr\",\"value\":\"1\"}]}", output); 73 assertEquals("{\"type\":\"CompilationUnit\",\"types\":[{\"type\":\"ClassOrInterfaceDeclaration\",\"isInterface\":\"false\",\"name\":{\"type\":\"SimpleName\",\"identifier\":\"Test\"},\"comment\":{\"type\":\"BlockComment\",\"content\":\" \\n* Some comment\\n\"}}]}", output);
|
| XmlPrinterTest.java | 39 assertEquals("<root type='MethodCallExpr'><name type='SimpleName' identifier='a'></name><arguments><argument type='IntegerLiteralExpr' value='1'></argument><argument type='IntegerLiteralExpr' value='2'></argument></arguments></root>", output);
|
| /tools/metalava/src/main/java/com/android/tools/metalava/model/psi/ |
| PsiTypeParameterItem.kt | 60 val simpleName = psiClass.name!! 66 name = simpleName,
|
| /frameworks/support/room/compiler/src/main/kotlin/androidx/room/processor/ |
| PojoMethodProcessor.kt | 33 val name = element.simpleName.toString()
|
| QueryParameterProcessor.kt | 36 val name = element.simpleName.toString()
|
| /frameworks/support/testutils-ktx/src/main/java/androidx/testutils/ |
| assertions.kt | 31 throw AssertionError("Body completed successfully. Expected ${T::class.java.simpleName}.")
|
| /frameworks/support/room/compiler/src/test/kotlin/androidx/room/processor/ |
| CustomConverterProcessorTest.kt | 51 val CONVERTER_QNAME = CONVERTER.packageName() + "." + CONVERTER.simpleName() 131 public class ${CONVERTER.simpleName()} { 144 public class ${CONVERTER.simpleName()} { 145 public ${CONVERTER.simpleName()}(int x) {} 160 public class ${CONVERTER.simpleName()} { 161 public ${CONVERTER.simpleName()}(int x) {} 179 public class ${CONVERTER.simpleName()} {
|
| /external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/visitor/ |
| ModifierVisitor.java | 56 SimpleName name = (SimpleName) n.getName().accept(this, arg); 72 SimpleName name = (SimpleName) n.getName().accept(this, arg); 191 SimpleName label = n.getLabel().map(s -> (SimpleName) s.accept(this, arg)).orElse(null); 253 SimpleName name = (SimpleName) n.getName().accept(this, arg); 271 SimpleName name = (SimpleName) n.getName().accept(this, arg) [all...] |