@Override public ResolvedTypeDeclaration declaringType() { return ReflectionFactory.typeDeclarationFor(field.getDeclaringClass(), typeSolver); }
@Override public ResolvedTypeDeclaration declaringType() { return ReflectionFactory.typeDeclarationFor(field.getDeclaringClass(), typeSolver); }
@Override public ResolvedTypeDeclaration declaringType() { return ReflectionFactory.typeDeclarationFor(field.getDeclaringClass(), typeSolver); }
public Optional<ResolvedReferenceTypeDeclaration> containerType() { Class<?> declaringClass = clazz.getDeclaringClass(); return declaringClass == null ? Optional.empty() : Optional.of(ReflectionFactory.typeDeclarationFor(declaringClass, typeSolver)); } }
public Optional<ResolvedReferenceTypeDeclaration> containerType() { Class<?> declaringClass = clazz.getDeclaringClass(); return declaringClass == null ? Optional.empty() : Optional.of(ReflectionFactory.typeDeclarationFor(declaringClass, typeSolver)); } }
public Optional<ResolvedReferenceTypeDeclaration> containerType() { Class<?> declaringClass = clazz.getDeclaringClass(); return declaringClass == null ? Optional.empty() : Optional.of(ReflectionFactory.typeDeclarationFor(declaringClass, typeSolver)); } }
@Override public Set<ResolvedReferenceTypeDeclaration> internalTypes() { return Arrays.stream(this.clazz.getDeclaredClasses()) .map(ic -> ReflectionFactory.typeDeclarationFor(ic, typeSolver)) .collect(Collectors.toSet()); }
@Override public Set<ResolvedReferenceTypeDeclaration> internalTypes() { return Arrays.stream(this.clazz.getDeclaredClasses()) .map(ic -> ReflectionFactory.typeDeclarationFor(ic, typeSolver)) .collect(Collectors.toSet()); }
@Override public Set<ResolvedReferenceTypeDeclaration> internalTypes() { return Arrays.stream(this.clazz.getDeclaredClasses()) .map(ic -> ReflectionFactory.typeDeclarationFor(ic, typeSolver)) .collect(Collectors.toSet()); }
@Override public Set<ResolvedReferenceTypeDeclaration> internalTypes() { return Arrays.stream(this.clazz.getDeclaredClasses()) .map(ic -> ReflectionFactory.typeDeclarationFor(ic, typeSolver)) .collect(Collectors.toSet()); }
@Override public Set<ResolvedReferenceTypeDeclaration> internalTypes() { return Arrays.stream(this.clazz.getDeclaredClasses()) .map(ic -> ReflectionFactory.typeDeclarationFor(ic, typeSolver)) .collect(Collectors.toSet()); }
@Override public Set<ResolvedReferenceTypeDeclaration> internalTypes() { return Arrays.stream(this.clazz.getDeclaredClasses()) .map(ic -> ReflectionFactory.typeDeclarationFor(ic, typeSolver)) .collect(Collectors.toSet()); }
@Override public Set<ResolvedReferenceTypeDeclaration> internalTypes() { return Arrays.stream(this.clazz.getDeclaredClasses()) .map(ic -> ReflectionFactory.typeDeclarationFor(ic, typeSolver)) .collect(Collectors.toSet()); }
public ReflectionTypeParameter(TypeVariable typeVariable, boolean declaredOnClass, TypeSolver typeSolver) { GenericDeclaration genericDeclaration = typeVariable.getGenericDeclaration(); if (genericDeclaration instanceof Class) { container = ReflectionFactory.typeDeclarationFor((Class) genericDeclaration, typeSolver); } else if (genericDeclaration instanceof Method) { container = new ReflectionMethodDeclaration((Method) genericDeclaration, typeSolver); } else if (genericDeclaration instanceof Constructor) { container = new ReflectionConstructorDeclaration((Constructor) genericDeclaration, typeSolver); } this.typeVariable = typeVariable; this.typeSolver = typeSolver; }
public ReflectionTypeParameter(TypeVariable typeVariable, boolean declaredOnClass, TypeSolver typeSolver) { GenericDeclaration genericDeclaration = typeVariable.getGenericDeclaration(); if (genericDeclaration instanceof Class) { container = ReflectionFactory.typeDeclarationFor((Class) genericDeclaration, typeSolver); } else if (genericDeclaration instanceof Method) { container = new ReflectionMethodDeclaration((Method) genericDeclaration, typeSolver); } else if (genericDeclaration instanceof Constructor) { container = new ReflectionConstructorDeclaration((Constructor) genericDeclaration, typeSolver); } this.typeVariable = typeVariable; this.typeSolver = typeSolver; }
public ReflectionTypeParameter(TypeVariable typeVariable, boolean declaredOnClass, TypeSolver typeSolver) { GenericDeclaration genericDeclaration = typeVariable.getGenericDeclaration(); if (genericDeclaration instanceof Class) { container = ReflectionFactory.typeDeclarationFor((Class) genericDeclaration, typeSolver); } else if (genericDeclaration instanceof Method) { container = new ReflectionMethodDeclaration((Method) genericDeclaration, typeSolver); } else if (genericDeclaration instanceof Constructor) { container = new ReflectionConstructorDeclaration((Constructor) genericDeclaration, typeSolver); } this.typeVariable = typeVariable; this.typeSolver = typeSolver; }
return new ResolvedArrayType(typeUsageFor(c.getComponentType(), typeSolver)); } else { return new ReferenceTypeImpl(typeDeclarationFor(c, typeSolver), typeSolver);
return SymbolReference.solved(ReflectionFactory.typeDeclarationFor(clazz, getRoot())); } catch (ClassNotFoundException e) {
return SymbolReference.solved(ReflectionFactory.typeDeclarationFor(clazz, getRoot())); } catch (ClassNotFoundException e) {
return SymbolReference.solved(ReflectionFactory.typeDeclarationFor(clazz, getRoot())); } catch (NoClassDefFoundError e) {