Lines Matching defs:mTypeMirror
50 final TypeMirror mTypeMirror;
53 mTypeMirror = typeMirror;
61 return mTypeMirror.toString();
66 return mTypeMirror.getKind() == TypeKind.ARRAY;
73 component = ((ArrayType) mTypeMirror).getComponentType();
87 DeclaredType mapType = findInterface(mapClass.mTypeMirror);
100 if (typeUtil.isSameType(interfaceType, typeUtil.erasure(mTypeMirror))) {
101 foundInterface = mTypeMirror;
104 toCheck.add(mTypeMirror);
115 L.e("Detected " + interfaceType + " type for " + mTypeMirror +
121 L.e("Found " + interfaceType + " type for " + mTypeMirror +
130 switch (mTypeMirror.getKind()) {
142 switch (mTypeMirror.getKind()) {
159 return mTypeMirror.getKind() == TypeKind.BOOLEAN;
164 return mTypeMirror.getKind() == TypeKind.CHAR;
169 return mTypeMirror.getKind() == TypeKind.BYTE;
174 return mTypeMirror.getKind() == TypeKind.SHORT;
179 return mTypeMirror.getKind() == TypeKind.INT;
184 return mTypeMirror.getKind() == TypeKind.LONG;
189 return mTypeMirror.getKind() == TypeKind.FLOAT;
194 return mTypeMirror.getKind() == TypeKind.DOUBLE;
200 if (mTypeMirror.getKind() == TypeKind.DECLARED) {
201 DeclaredType declaredType = (DeclaredType) mTypeMirror;
210 if (mTypeMirror.getKind() == TypeKind.DECLARED) {
211 DeclaredType declaredType = (DeclaredType) mTypeMirror;
232 if (mTypeMirror.getKind() == TypeKind.DECLARED) {
233 DeclaredType declaredType = (DeclaredType) mTypeMirror;
247 return mTypeMirror.getKind() == TypeKind.TYPEVAR;
252 return mTypeMirror.getKind() == TypeKind.WILDCARD;
257 return mTypeMirror.getKind() == TypeKind.DECLARED &&
258 ((DeclaredType)mTypeMirror).asElement().getKind() == ElementKind.INTERFACE;
263 return mTypeMirror.getKind() == TypeKind.VOID;
272 return new AnnotationClass(getTypeUtils().unboxedType(mTypeMirror));
284 return new AnnotationClass(getTypeUtils().boxedClass((PrimitiveType) mTypeMirror).asType());
293 return getTypeUtils().isAssignable(thatAnnotationClass.mTypeMirror, this.mTypeMirror);
299 if (mTypeMirror.getKind() == TypeKind.DECLARED) {
300 DeclaredType declaredType = (DeclaredType) mTypeMirror;
317 if (mTypeMirror.getKind() == TypeKind.DECLARED) {
318 DeclaredType declaredType = (DeclaredType) mTypeMirror;
330 return getTypeUtils().erasure(mTypeMirror).toString();
335 final TypeMirror erasure = getTypeUtils().erasure(mTypeMirror);
336 if (erasure == mTypeMirror) {
351 if (mTypeMirror.getKind() == TypeKind.DECLARED) {
352 DeclaredType declaredType = (DeclaredType) mTypeMirror;
370 return getTypeUtils().isSameType(mTypeMirror, ((AnnotationClass) obj).mTypeMirror);
378 return mTypeMirror.toString().hashCode();
391 return mTypeMirror.toString();