Home
last modified time | relevance | path

Searched refs:getKind (Results 1 – 3 of 3) sorted by relevance

/tools/platform-compat/java/android/processor/compat/unsupportedappusage/
DSignatureConverter.java70 switch (element.getKind()) { in getSignature()
111 switch (enclosing.getKind()) { in getClassSignature()
128 "Unexpected enclosing element " + enclosing.getKind()); in getClassSignature()
144 TypeKind kind = type.getKind(); in getTypeSignature()
155 "Can't handle declared type of kind " + declaring.getKind()); in getTypeSignature()
160 if (typeVar.getLowerBound().getKind() != TypeKind.NULL) { in getTypeSignature()
162 } else if (typeVar.getUpperBound().getKind() != TypeKind.NULL) { in getTypeSignature()
/tools/platform-compat/java/android/processor/compat/changeid/
DChangeIdProcessor.java112 if (element.getKind() == PARAMETER) { in ignoreAnnotatedElement()
115 if (enclosingElement.getKind() == CLASS) { in ignoreAnnotatedElement()
135 if (element.getKind() != ElementKind.FIELD) { in isValidChangeId()
156 if (element.asType().getKind() != TypeKind.LONG) { in isValidChangeId()
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/
DPsiTypeItemFactory.kt255 kind = getKind(psiType), in <lambda>()
260 private fun getKind(type: PsiPrimitiveType): PrimitiveTypeItem.Primitive { in <lambda>() method