Home
last modified time | relevance | path

Searched refs:isAnnotation (Results 1 – 25 of 26) sorted by relevance

12

/external/clang/include/clang/Lex/
DToken.h118 bool isAnnotation() const { in isAnnotation() function
119 return tok::isAnnotation(getKind()); in isAnnotation()
128 assert(!isAnnotation() && "Annotation tokens have no length field"); in getLength()
134 assert(!isAnnotation() && "Annotation tokens have no length field"); in setLength()
139 assert(isAnnotation() && "Used AnnotEndLocID on non-annotation token"); in getAnnotationEndLoc()
143 assert(isAnnotation() && "Used AnnotEndLocID on non-annotation token"); in setAnnotationEndLoc()
148 return isAnnotation() ? getAnnotationEndLoc() : getLocation(); in getLastLoc()
152 return isAnnotation() ? getAnnotationEndLoc() in getEndLoc()
180 assert(!isAnnotation() && in getIdentifierInfo()
225 assert(isAnnotation() && "Used AnnotVal on non-annotation token"); in getAnnotationValue()
[all …]
DPreprocessor.h74 assert(!tok::isAnnotation(Kind) && "Annotations are not supported."); in TokenValue()
1176 assert(Tok.isAnnotation() && "Expected annotation token"); in AnnotateCachedTokens()
1197 assert(Tok.isAnnotation() && "Expected annotation token"); in ReplaceLastTokenWithAnnotation()
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gwtref/client/
DType.java50 boolean isAnnotation; field in Type
233 public boolean isAnnotation () { in isAnnotation() method in Type
234 return isAnnotation; in isAnnotation()
286 + ",\n isAnnotation=" + isAnnotation + ",\n fields=" + Arrays.toString(fields) + ",\n methods=" in toString()
/external/guava/guava-testlib/test/com/google/common/collect/testing/features/
DFeatureEnumTest.java78 if (containedClass.isAnnotation()) { in assertGoodFeatureEnum()
93 if (clazz.isAnnotation()) { in asAnnotation()
/external/clang/lib/Parse/
DParseOpenMP.cpp44 Tok.isAnnotation() in ParseOpenMPDirectiveKind()
50 if (!Tok.isAnnotation() && DKind == OMPD_unknown) { in ParseOpenMPDirectiveKind()
60 auto TokenIsAnnotation = Tok.isAnnotation(); in ParseOpenMPDirectiveKind()
274 Tok.isAnnotation() in ParseOpenMPDeclarativeOrExecutableDirective()
627 Kind, Tok.isAnnotation() ? "" : PP.getSpelling(Tok)); in ParseOpenMPSimpleClause()
697 Kind, Tok.isAnnotation() ? "" : PP.getSpelling(Tok)); in ParseOpenMPSingleExprWithArgClause()
DParseAST.cpp72 if (Tok.isAnnotation()) { in print()
DParseDeclCXX.cpp1259 !Tok.isAnnotation() && in ParseClassSpecifier()
3590 if (!Tok.isAnnotation()) { in TryParseCXX11AttributeIdentifier()
DParser.cpp1598 Tok.isAnnotation())) { in TryAnnotateTypeOrScopeToken()
/external/testng/src/main/java/org/testng/junit/
DJUnitTestFinder.java36 … if (!Modifier.isPublic(c.getModifiers()) || c.isInterface() || c.isAnnotation() || c.isEnum()) { in isJUnitTest()
/external/clang/include/clang/Basic/
DTokenKinds.h95 inline bool isAnnotation(TokenKind K) { in isAnnotation() function
/external/clang/lib/Lex/
DTokenConcatenation.cpp170 if (!PrevTok.isAnnotation() && PrevTok.getIdentifierInfo()) in AvoidConcat()
185 if (Tok.isAnnotation()) { in AvoidConcat()
DPPCaching.cpp98 assert(Tok.isAnnotation() && "Expected annotation token"); in AnnotatePreviousCachedTokens()
DPPMacroExpansion.cpp790 } else if (!Tok.isAnnotation() && Tok.getIdentifierInfo() != nullptr) { in ReadFunctionLikeMacroArgs()
1759 if (!Tok.isAnnotation() && Tok.getIdentifierInfo()) in ExpandBuiltinMacro()
1767 if (!Tok.isAnnotation() && Tok.getIdentifierInfo()) in ExpandBuiltinMacro()
1773 if (Tok.isOneOf(tok::eof, tok::eod) || Tok.isAnnotation()) in ExpandBuiltinMacro()
DTokenLexer.cpp498 if (!Tok.isAnnotation() && Tok.getIdentifierInfo() != nullptr) { in Lex()
/external/javassist/src/main/javassist/
DModifier.java141 public static boolean isAnnotation(int mod) { in isAnnotation() method in Modifier
DCtClass.java452 public boolean isAnnotation() { in isAnnotation() method in CtClass
DCtClassType.java378 public boolean isAnnotation() { in isAnnotation() method in CtClassType
379 return Modifier.isAnnotation(getModifiers()); in isAnnotation()
/external/doclava/src/com/google/doclava/apicheck/
DXmlApiFile.java97 boolean isAnnotation = false; // TODO: not sure. in startElement()
108 isException, isError, isEnum, isAnnotation, isFinal, isIncluded, name, qualifiedName, in startElement()
/external/dexmaker/src/dx/java/com/android/dx/rop/code/
DAccessFlags.java273 public static boolean isAnnotation(int flags) { in isAnnotation() method in AccessFlags
/external/android-mock/src/com/google/android/testing/mocking/
DAndroidMockGenerator.java112 } else if (clazz.isAnnotation()) { in reportReasonForUnsupportedType()
146 && !clazz.isInterface() && !clazz.isEnum() && !clazz.isAnnotation() && !clazz.isArray() in classIsSupportedType()
/external/doclava/src/com/google/doclava/
DInfoBuilder.java565 boolean isAnnotation = false; in buildClassName()
576 isAnnotation = true; in buildClassName()
601 isOrdinaryClass, isException, isError, isEnum, isAnnotation, in buildClassName()
963 boolean isAnnotation) { in buildMethod() argument
1061 if (isAnnotation) { in buildMethod()
DClassInfo.java94 … boolean isException, boolean isError, boolean isEnum, boolean isAnnotation, boolean isFinal, in ClassInfo() argument
102 isException, isError, isEnum, isAnnotation, isFinal, in ClassInfo()
114 … boolean isException, boolean isError, boolean isEnum, boolean isAnnotation, boolean isFinal, in initialize() argument
131 mIsAnnotation = isAnnotation; in initialize()
286 public boolean isAnnotation() { in isAnnotation() method in ClassInfo
1821 } else if (isAnnotation()) { in kind()
DStubs.java517 if (cl.isAbstract() && !cl.isAnnotation() && !cl.isInterface()) { in writeClass()
555 if (usedInterfaces.size() > 0 && !cl.isAnnotation()) { in writeClass()
557 if (cl.isInterface() || cl.isAnnotation()) { in writeClass()
619 fieldNeedsInitialization)) && !cl.isAnnotation() && !cl.isInterface() && !cl.isEnum()) { in writeClass()
DPackageInfo.java415 original.isException(), original.isError(), original.isEnum(), original.isAnnotation(), in createDeltaClass()
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gwtref/gen/
DReflectionCacheSourceCreator.java602 } else if (t.isAnnotation() != null) { in createTypeGenerator()

12