Uses of Class
org.inferred.freebuilder.processor.source.QualifiedName
-
-
Uses of QualifiedName in org.inferred.freebuilder.processor
Fields in org.inferred.freebuilder.processor declared as QualifiedName Modifier and Type Field Description private static QualifiedNameGwtSupport. CUSTOM_FIELD_SERIALIZERprivate QualifiedNameGeneratedStub. datatypeprivate static QualifiedNameJacksonSupport. JSON_ANY_GETTERprivate static QualifiedNameJacksonSupport. JSON_ANY_SETTERprivate static QualifiedNameJacksonSupport. JSON_PROPERTYprivate static QualifiedNameGwtSupport. SERIALIZATION_EXCEPTIONprivate static QualifiedNameGwtSupport. SERIALIZATION_STREAM_READERprivate static QualifiedNameGwtSupport. SERIALIZATION_STREAM_WRITERprivate QualifiedNameAnalyser.IsSubclassOfGeneratedTypeVisitor. superclassFields in org.inferred.freebuilder.processor with type parameters of type QualifiedName Modifier and Type Field Description private static java.util.Set<QualifiedName>JacksonSupport. DISABLE_PROPERTY_ANNOTATIONSAnnotations which disable automatic generation of JsonProperty annotations.Methods in org.inferred.freebuilder.processor with parameters of type QualifiedName Modifier and Type Method Description private java.util.Optional<javax.lang.model.type.DeclaredType>Analyser. tryFindBuilder(QualifiedName superclass, javax.lang.model.element.TypeElement valueType)Looks for a nested type invalueTypecalled Builder, and verifies it extends the autogeneratedsuperclass.Constructors in org.inferred.freebuilder.processor with parameters of type QualifiedName Constructor Description GeneratedStub(QualifiedName datatype, TypeClass stub)IsSubclassOfGeneratedTypeVisitor(QualifiedName superclass, java.util.List<? extends javax.lang.model.element.TypeParameterElement> typeParameters) -
Uses of QualifiedName in org.inferred.freebuilder.processor.model
Methods in org.inferred.freebuilder.processor.model with parameters of type QualifiedName Modifier and Type Method Description static booleanModelUtils. erasesToAnyOf(javax.lang.model.type.DeclaredType type, QualifiedName... possibilities)Returns true iftypeerases to any ofpossibilities.static java.util.Optional<javax.lang.model.element.AnnotationMirror>ModelUtils. findAnnotationMirror(javax.lang.model.element.Element element, QualifiedName annotationClass)Returns anAnnotationMirrorfor the annotation of typeannotationClassonelement, orOptional.empty()if no such annotation exists. -
Uses of QualifiedName in org.inferred.freebuilder.processor.property
Fields in org.inferred.freebuilder.processor.property declared as QualifiedName Modifier and Type Field Description private QualifiedNameOptionalProperty.OptionalType. clsConstructors in org.inferred.freebuilder.processor.property with parameters of type QualifiedName Constructor Description OptionalType(QualifiedName cls, java.lang.String empty, java.lang.String ofNullable) -
Uses of QualifiedName in org.inferred.freebuilder.processor.source
Fields in org.inferred.freebuilder.processor.source declared as QualifiedName Modifier and Type Field Description private static QualifiedNameImportManager. CONFLICTImpossible typename, to use instead of null (which toMap goes odd over).private QualifiedNameCompilerReflection.ElementsTypeInfo. nameprivate QualifiedNameRuntimeReflection.RuntimeTypeInfo. nameprivate QualifiedNameType.TypeImpl. qualifiedNameprivate QualifiedNameTypeClass. qualifiedNameprivate QualifiedNameTypeUsage_Builder.Partial. scopeprivate QualifiedNameTypeUsage_Builder. scopeprivate QualifiedNameTypeUsage_Builder.Value. scopeprivate QualifiedNameTypeUsage_Builder.Partial. typeprivate QualifiedNameTypeUsage_Builder. typeprivate QualifiedNameTypeUsage_Builder.Value. typeFields in org.inferred.freebuilder.processor.source with type parameters of type QualifiedName Modifier and Type Field Description private java.util.Map<java.lang.String,QualifiedName>ScopeHandler. generatedTypesQualified name as string ↦ qualified nameprivate com.google.common.collect.Multimap<QualifiedName,TypeUsage>ImportManager. importsTypes to import, and for which usages.private java.util.Map<java.lang.String,QualifiedName>ImportManager. namespaceSimple name → type, orImportManager.CONFLICTif multiple types conflicted for that name.private java.util.Map<TypeUsage,QualifiedName>ImportManager. resolutionsWhich type, imported or in scope, to use to shorten each type usage.private java.util.List<QualifiedName>CompilationUnitBuilder. typesprivate java.util.Map<QualifiedName,ScopeHandler.Visibility>ScopeHandler. typeVisibilityType ↦ visibility in parent scopeprivate java.util.Map<QualifiedName,com.google.common.collect.SetMultimap<java.lang.String,QualifiedName>>ScopeHandler. visibleTypesScope ↦ simple name ↦ typeprivate java.util.Map<QualifiedName,com.google.common.collect.SetMultimap<java.lang.String,QualifiedName>>ScopeHandler. visibleTypesScope ↦ simple name ↦ typeMethods in org.inferred.freebuilder.processor.source that return QualifiedName Modifier and Type Method Description QualifiedNameQualifiedName. enclosingType()Returns theQualifiedNameof the type enclosing this one.abstract QualifiedNameType. getQualifiedName()Returns the qualified name of the type class.QualifiedNameType.TypeImpl. getQualifiedName()QualifiedNameTypeClass. getQualifiedName()QualifiedNameCompilerReflection.ElementsTypeInfo. name()QualifiedNameRuntimeReflection.RuntimeTypeInfo. name()QualifiedNameScopeHandler.TypeInfo. name()private QualifiedNameCompilationUnitBuilder. nestedType(java.lang.String simpleName)QualifiedNameQualifiedName. nestedType(java.lang.String simpleName)Returns theQualifiedNameof a type calledsimpleNamenested in this one.static QualifiedNameQualifiedName. of(java.lang.Class<?> cls)Returns aQualifiedNameforcls, unshading if necessary.static QualifiedNameQualifiedName. of(java.lang.String packageName, java.lang.String topLevelType, java.lang.String... nestedTypes)Returns aQualifiedNamefor a type inpackageName.static QualifiedNameQualifiedName. of(javax.lang.model.element.TypeElement type)Returns aQualifiedNamefortype.QualifiedNameTypeUsage_Builder.Partial. type()QualifiedNameTypeUsage_Builder. type()Returns the value that will be returned byTypeUsage.type().QualifiedNameTypeUsage_Builder.Value. type()QualifiedNameTypeUsage. type()QualifiedNameCompilationUnitBuilder. typename()QualifiedNameSourceBuilder. typename()Return the qualified name of the main type declared by this unit.Methods in org.inferred.freebuilder.processor.source that return types with arguments of type QualifiedName Modifier and Type Method Description private com.google.common.collect.SetMultimap<java.lang.String,QualifiedName>ScopeHandler. computeTypesInScope(QualifiedName scope)private java.util.stream.Stream<QualifiedName>ScopeHandler. lookup(java.lang.String typename)java.util.Optional<QualifiedName>TypeUsage_Builder.Partial. scope()java.util.Optional<QualifiedName>TypeUsage_Builder. scope()Returns the value that will be returned byTypeUsage.scope().java.util.Optional<QualifiedName>TypeUsage_Builder.Value. scope()java.util.Optional<QualifiedName>TypeUsage. scope()private com.google.common.collect.SetMultimap<java.lang.String,QualifiedName>ScopeHandler. typesInScope(QualifiedName scope)private java.util.function.Function<QualifiedName,ScopeHandler.ScopeState>ImportManager. visibilityIn(ScopeHandler scopeHandler, TypeUsage usage)Methods in org.inferred.freebuilder.processor.source with parameters of type QualifiedName Modifier and Type Method Description private booleanImportManager. addImport(QualifiedName name, TypeUsage usage)voidCompilationUnitBuilder. append(QualifiedName type)voidQualifiedNameAppendable. append(QualifiedName type)intQualifiedName. compareTo(QualifiedName o)private com.google.common.collect.SetMultimap<java.lang.String,QualifiedName>ScopeHandler. computeTypesInScope(QualifiedName scope)(package private) voidScopeHandler. declareGeneratedType(ScopeHandler.Visibility visibility, QualifiedName generatedType, java.util.Set<java.lang.String> supertypes)booleanQualifiedName. isNestedIn(QualifiedName other)private static booleanImportManager. isSensibleImport(QualifiedName name)private static booleanScopeHandler. maybeVisibleInScope(QualifiedName scope, ScopeHandler.Visibility visibility, QualifiedName type)TypeUsage.BuilderTypeUsage_Builder. nullableScope(QualifiedName scope)Sets the value to be returned byTypeUsage.scope().private voidImportManager. rejectName(QualifiedName name)private booleanImportManager. reserveName(QualifiedName name)TypeUsage.BuilderTypeUsage_Builder. scope(QualifiedName scope)Sets the value to be returned byTypeUsage.scope().TypeUsage.BuilderTypeUsage_Builder. type(QualifiedName type)Sets the value to be returned byTypeUsage.type().private com.google.common.collect.SetMultimap<java.lang.String,QualifiedName>ScopeHandler. typesInScope(QualifiedName scope)(package private) ScopeHandler.ScopeStateScopeHandler. visibilityIn(java.lang.String pkg, QualifiedName type)Returns whethertypeis visible in, or can be imported into, a compilation unit inpkg.(package private) ScopeHandler.ScopeStateScopeHandler. visibilityIn(QualifiedName scope, QualifiedName type)Returns whethertypeis visible in, or can be imported into, the body oftype.private ScopeHandler.VisibilityScopeHandler. visibilityOf(QualifiedName type)Method parameters in org.inferred.freebuilder.processor.source with type arguments of type QualifiedName Modifier and Type Method Description TypeUsage.BuilderTypeUsage_Builder. mapScope(java.util.function.UnaryOperator<QualifiedName> mapper)If the value to be returned byTypeUsage.scope()is present, replaces it by applyingmapperto it and using the result.TypeUsage.BuilderTypeUsage_Builder. mapType(java.util.function.UnaryOperator<QualifiedName> mapper)Replaces the value to be returned byTypeUsage.type()by applyingmapperto it and using the result.TypeUsage.BuilderTypeUsage_Builder. scope(java.util.Optional<? extends QualifiedName> scope)Sets the value to be returned byTypeUsage.scope().Constructors in org.inferred.freebuilder.processor.source with parameters of type QualifiedName Constructor Description TypeClass(QualifiedName qualifiedName, java.util.Collection<? extends javax.lang.model.element.TypeParameterElement> typeParameters)TypeImpl(QualifiedName qualifiedName, java.util.List<?> typeParameters) -
Uses of QualifiedName in org.inferred.freebuilder.processor.source.feature
Fields in org.inferred.freebuilder.processor.source.feature declared as QualifiedName Modifier and Type Field Description private static QualifiedNameJavaxPackage. GENERATEDprivate static QualifiedNameJsr305. NULLABLEMethods in org.inferred.freebuilder.processor.source.feature that return types with arguments of type QualifiedName Modifier and Type Method Description java.util.Optional<QualifiedName>JavaxPackage. generated()Parameterized type forjava.util.function.Consumer<T>, if available.Methods in org.inferred.freebuilder.processor.source.feature with parameters of type QualifiedName Modifier and Type Method Description private static booleanJavaxPackage. hasType(javax.lang.model.util.Elements elements, QualifiedName type)private static booleanJsr305. hasType(javax.lang.model.util.Elements elements, QualifiedName type)
-