Searched refs:TypeKind (Results 1 – 7 of 7) sorted by relevance
38 import javax.lang.model.type.TypeKind;66 return mTypeMirror.getKind() == TypeKind.ARRAY; in isArray()120 if (foundInterface.getKind() != TypeKind.DECLARED) { in findInterface()159 return mTypeMirror.getKind() == TypeKind.BOOLEAN; in isBoolean()164 return mTypeMirror.getKind() == TypeKind.CHAR; in isChar()169 return mTypeMirror.getKind() == TypeKind.BYTE; in isByte()174 return mTypeMirror.getKind() == TypeKind.SHORT; in isShort()179 return mTypeMirror.getKind() == TypeKind.INT; in isInt()184 return mTypeMirror.getKind() == TypeKind.LONG; in isLong()189 return mTypeMirror.getKind() == TypeKind.FLOAT; in isFloat()[all …]
33 import javax.lang.model.type.TypeKind;41 public static final Map<String, TypeKind> PRIMITIVE_TYPES;43 PRIMITIVE_TYPES = new HashMap<String, TypeKind>();44 PRIMITIVE_TYPES.put("boolean", TypeKind.BOOLEAN);45 PRIMITIVE_TYPES.put("byte", TypeKind.BYTE);46 PRIMITIVE_TYPES.put("short", TypeKind.SHORT);47 PRIMITIVE_TYPES.put("char", TypeKind.CHAR);48 PRIMITIVE_TYPES.put("int", TypeKind.INT);49 PRIMITIVE_TYPES.put("long", TypeKind.LONG);50 PRIMITIVE_TYPES.put("float", TypeKind.FLOAT);[all …]
33 import javax.lang.model.type.TypeKind;67 if (superType.getKind() == TypeKind.DECLARED) { in findReceiverType()121 return mMethod.getReturnType().getKind() == TypeKind.VOID; in isVoid()
42 import javax.lang.model.type.TypeKind;205 element.getReturnType().getKind() != TypeKind.VOID; in isGetter()213 element.getReturnType().getKind() == TypeKind.VOID; in isSetter()221 element.getReturnType().getKind() == TypeKind.BOOLEAN; in isBooleanGetter()
45 import javax.lang.model.type.TypeKind;160 if (parameter1.getKind() == TypeKind.DECLARED && in takesComponent()233 if (executableElement.getReturnType().getKind() == TypeKind.VOID) { in addConversions()250 if (executableElement.getReturnType().getKind() == TypeKind.VOID) { in addInverseAdapters()
48 import javax.lang.model.type.TypeKind;276 TypeKind kind = typeMirror.getKind(); in hasTypeVar()277 if (kind == TypeKind.TYPEVAR) { in hasTypeVar()279 } else if (kind == TypeKind.ARRAY) { in hasTypeVar()281 } else if (kind == TypeKind.DECLARED) { in hasTypeVar()346 final TypeKind kind = type.getKind(); in getQualifiedName()347 if (kind == TypeKind.ARRAY) { in getQualifiedName()349 } else if (kind == TypeKind.DECLARED && isIncompleteType(type)) { in getQualifiedName()358 final TypeKind kind = type.getKind(); in isIncompleteType()359 if (kind == TypeKind.TYPEVAR || kind == TypeKind.WILDCARD) { in isIncompleteType()[all …]
279 enum TypeKind { enum293 TypeKind mKind; // The kind of type specification312 TypeKind getKind() const { return mKind; } in getKind()