Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/google/auto
/ functions
Functions
3,917 in github.com/google/auto
⨍
Functions
3,917
◇
Types & classes
1,054
↓ 14 callers
Method
setA
( ImmutableMap<String, ImmutableMap<String, Optional<String>>> a)
value/src/test/java/com/google/auto/value/extension/serializable/processor/SerializableAutoValueExtensionTest.java:435
↓ 14 callers
Method
toImmutableMap
Returns a collector for an {@link ImmutableMap}.
common/src/main/java/com/google/auto/common/MoreStreams.java:52
↓ 13 callers
Method
abortWithError
Issue a compilation error and abandon the processing of this class. This does not prevent the processing of other classes. @param e the element to wh
value/src/main/java/com/google/auto/value/processor/ErrorReporter.java:88
↓ 13 callers
Method
apply
(I i)
value/src/main/java/com/google/auto/value/extension/serializable/serializer/runtime/FunctionWithExceptions.java:37
↓ 13 callers
Method
asMemberOf
Resolves a {@link VariableElement} parameter to a method or constructor based on the given container, or a member of a class. For parameters to a meth
common/src/main/java/com/google/auto/common/MoreTypes.java:953
↓ 13 callers
Method
decode
Decodes the given string, respelling class names appropriately. The text is scanned for tokens like {@code `java.util.Locale`} or {@code `«java.util.L
value/src/main/java/com/google/auto/value/processor/TypeEncoder.java:208
↓ 13 callers
Method
missingRequiredProperty
Returns an expression that is true if the given property is required but has not been set. Returns null if the property is not required.
value/src/main/java/com/google/auto/value/processor/BuilderRequiredProperties.java:210
↓ 13 callers
Method
ofElement
Returns the visibility of the given {@link Element}. While package and module elements don't technically have a visibility associated with them, this
common/src/main/java/com/google/auto/common/Visibility.java:53
↓ 13 callers
Method
properties
Returns the ordered collection of properties to be generated by AutoValue. Each key is a property name, and the corresponding value is the getter meth
value/src/main/java/com/google/auto/value/extension/AutoValueExtension.java:137
↓ 13 callers
Method
typeUtils
()
value/src/main/java/com/google/auto/value/processor/AutoValueishProcessor.java:134
↓ 13 callers
Method
validateElement
Returns true if all types referenced by the given element are defined. The exact meaning of this depends on the kind of element. For packages, it mean
common/src/main/java/com/google/auto/common/SuperficialValidation.java:108
↓ 13 callers
Method
wrap
(TypeMirror typeMirror)
value/src/main/java/com/google/auto/value/processor/TypeMirrorSet.java:46
↓ 12 callers
Method
encodeWithAnnotations
Encodes the given type and its type annotations. The class comment for {@link TypeEncoder} covers the details of annotation encoding.
value/src/main/java/com/google/auto/value/processor/TypeEncoder.java:101
↓ 12 callers
Method
equals
(@Nullable Object object)
common/src/main/java/com/google/auto/common/BasicAnnotationProcessor.java:602
↓ 12 callers
Method
equals
(Object obj)
value/src/test/java/com/google/auto/value/extension/memoized/MemoizedTest.java:235
↓ 12 callers
Method
get
()
value/src/test/java/com/google/auto/value/extension/toprettystring/ToPrettyStringTest.java:964
↓ 12 callers
Method
hashCode
()
value/src/it/functional/src/test/java/com/google/auto/value/AutoValueTest.java:1032
↓ 12 callers
Method
ints
()
value/src/it/functional/src/test/java/com/google/auto/value/AutoValueJava8Test.java:669
↓ 12 callers
Method
markAsSet
Returns code to indicate that the given property has been set, if assigning to the property field is not enough. For reference (non-primitive) propert
value/src/main/java/com/google/auto/value/processor/BuilderRequiredProperties.java:196
↓ 12 callers
Method
referencedTypes
( ImmutableMap<String, VariableElement> fieldIndex, String fieldName)
common/src/test/java/com/google/auto/common/MoreTypesTest.java:263
↓ 12 callers
Method
toString
Returns the name of the property as it should be used when declaring identifiers (fields and parameters). If the original getter method was {@code foo
value/src/main/java/com/google/auto/value/processor/AutoValueishProcessor.java:249
↓ 11 callers
Method
assertTypeImportsAndSpellings
Assert that the fake program returned by fakeProgramForTypes has the given list of imports and the given list of spellings. Here, "spellings" means th
value/src/test/java/com/google/auto/value/processor/TypeEncoderTest.java:84
↓ 11 callers
Method
autoWhat
A string describing what sort of Auto this is, {@code "AutoValue"} or {@code "AutoBuilder"}.
value/src/main/java/com/google/auto/value/processor/BuilderMethodClassifier.java:717
↓ 11 callers
Method
elementUtils
()
value/src/main/java/com/google/auto/value/processor/AutoValueishProcessor.java:138
↓ 11 callers
Method
getTypeMirror
()
value/src/main/java/com/google/auto/value/processor/AutoAnnotationProcessor.java:545
↓ 11 callers
Method
parameters
()
value/src/main/java/com/google/auto/value/processor/Executable.java:83
↓ 11 callers
Method
passedParameters
The parameters that are passed to the {@code create} method.
factory/src/main/java/com/google/auto/factory/processor/FactoryMethodDescriptor.java:44
↓ 11 callers
Method
remove
()
value/src/main/java/com/google/auto/value/processor/TypeMirrorSet.java:69
↓ 10 callers
Method
asExecutable
Returns a {@link ExecutableType} if the {@link TypeMirror} represents an executable type such as a method, constructor, or initializer or throws an {@
common/src/main/java/com/google/auto/common/MoreTypes.java:653
↓ 10 callers
Method
asMemberOf
(Types typeUtils, DeclaredType in, ExecutableElement method)
value/src/main/java/com/google/auto/value/processor/MethodSignature.java:58
↓ 10 callers
Method
asType
(AnnotationValue value)
factory/src/main/java/com/google/auto/factory/processor/AnnotationValues.java:48
↓ 10 callers
Method
builderRequiredPropertiesWithDefaults
(int primitiveCount)
value/src/test/java/com/google/auto/value/processor/BuilderRequiredPropertiesTest.java:315
↓ 10 callers
Method
create
(Dog dog)
value/src/it/functional/src/test/java/com/google/auto/value/AutoOneOfTest.java:71
↓ 10 callers
Method
equivalence
Returns an {@link Equivalence} for {@link AnnotationMirror} as some implementations delegate equality tests to {@link Object#equals} whereas the docum
common/src/main/java/com/google/auto/common/AnnotationMirrors.java:80
↓ 10 callers
Method
fixup
(String s)
value/src/main/java/com/google/auto/value/processor/Reformatter.java:35
↓ 10 callers
Method
from
(Elements elementUtils, @Nullable String apiPrefix)
factory/src/main/java/com/google/auto/factory/processor/InjectApi.java:45
↓ 10 callers
Method
getAnyMissing
()
value/src/test/java/com/google/auto/value/processor/BuilderRequiredPropertiesTest.java:245
↓ 10 callers
Method
getElementValues
()
common/src/main/java/com/google/auto/common/SimpleAnnotationMirror.java:113
↓ 10 callers
Method
getPackage
()
value/src/it/functional/src/test/java/com/google/auto/value/AutoOneOfTest.java:459
↓ 10 callers
Method
getValue
()
common/src/test/java/com/google/auto/common/SimpleAnnotationMirrorTest.java:123
↓ 10 callers
Method
hashCode
()
value/src/it/functional/src/test/java/com/google/auto/value/AutoBuilderTest.java:74
↓ 10 callers
Method
hashCode
()
value/src/test/java/com/google/auto/value/extension/memoized/MemoizedTest.java:174
↓ 10 callers
Method
message
(String message)
value/src/it/gwtserializer/src/test/java/com/google/auto/value/client/GwtSerializerTest.java:141
↓ 10 callers
Method
nullable
(@Nullable String s)
value/src/it/functional/src/test/java/com/google/auto/value/AutoValueJava8Test.java:522
↓ 10 callers
Method
packageNameOf
Returns the name of the package that the given type is in. If the type is in the default (unnamed) package then the name is the empty string.
value/src/main/java/com/google/auto/value/processor/TypeSimplifier.java:167
↓ 10 callers
Method
reportWarning
Issue a compilation warning. @param e the element to which it pertains @param format the format string for the text of the warning @param args argume
value/src/main/java/com/google/auto/value/processor/ErrorReporter.java:56
↓ 10 callers
Method
setList
(ImmutableList<T> list)
value/src/it/functional/src/test/java/com/google/auto/value/AutoValueJava8Test.java:657
↓ 10 callers
Method
simpleNameOf
(String s)
value/src/main/java/com/google/auto/value/processor/TypeSimplifier.java:171
↓ 10 callers
Method
string
(String x)
value/src/it/functional/src/test/java/com/google/auto/value/gwt/CustomFieldSerializerTest.java:158
↓ 10 callers
Method
things
()
value/src/it/functional/src/test/java/com/google/auto/value/AutoValueTest.java:2547
↓ 10 callers
Method
truthiness
(Truthiness x)
value/src/it/functional/src/test/java/com/google/auto/value/AutoBuilderTest.java:171
↓ 10 callers
Method
typeMirrorSet
(TypeMirror... typeMirrors)
value/src/test/java/com/google/auto/value/processor/TypeEncoderTest.java:354
↓ 10 callers
Method
validateType
Returns true if the given type is fully defined. This means that the type itself is defined, as are any types it references, such as any type argument
common/src/main/java/com/google/auto/common/SuperficialValidation.java:183
↓ 9 callers
Method
asArray
Returns a {@link ArrayType} if the {@link TypeMirror} represents an array or throws an {@link IllegalArgumentException}.
common/src/main/java/com/google/auto/common/MoreTypes.java:590
↓ 9 callers
Method
checkNotNull
(T reference, int argumentNumber, int argumentCount)
factory/src/test/resources/expected/MultipleFactoriesConflictingParameterNamesFactory.java:61
↓ 9 callers
Method
compareTo
(Version that)
value/src/it/functional/src/test/java/com/google/auto/value/AutoValueTest.java:1227
↓ 9 callers
Method
decapitalizeNormally
Returns the {@code propertyName} with its first character in lower case.
value/src/main/java/com/google/auto/value/processor/PropertyNames.java:46
↓ 9 callers
Method
declaredTypeOf
(Class<?> enclosingClass, Class<?> containedClass)
value/src/test/java/com/google/auto/value/extension/serializable/serializer/utils/CompilationAbstractTest.java:88
↓ 9 callers
Method
getDepB
()
factory/src/it/functional/src/main/java/com/google/auto/factory/GenericFoo.java:43
↓ 9 callers
Method
getKind
()
value/src/main/java/com/google/auto/value/processor/AutoAnnotationProcessor.java:549
↓ 9 callers
Method
id
(int x)
value/src/it/functional/src/test/java/com/google/auto/value/AutoBuilderTest.java:184
↓ 9 callers
Method
isType
Returns true if the given {@link Element} instance is a {@link TypeElement}. <p>This method is functionally equivalent to an {@code instanceof} check
common/src/main/java/com/google/auto/common/MoreElements.java:118
↓ 9 callers
Method
loaderForJarWithEntries
(String service, String... lines)
value/src/test/java/com/google/auto/value/processor/SimpleServiceLoaderTest.java:201
↓ 9 callers
Method
notNullable
(String s)
value/src/it/functional/src/test/java/com/google/auto/value/AutoValueJava8Test.java:520
↓ 9 callers
Method
of
(int anInt, String aString)
value/src/it/functional/src/test/java/com/google/auto/value/AutoBuilderTest.java:61
↓ 9 callers
Method
proxyFieldType
The proxy type the original unserializable type will be mapped to.
value/src/main/java/com/google/auto/value/extension/serializable/serializer/interfaces/Serializer.java:28
↓ 9 callers
Method
requiredPrimitiveProperties
( BuilderRequiredProperties builderRequiredProperties)
value/src/test/java/com/google/auto/value/processor/BuilderRequiredPropertiesTest.java:303
↓ 9 callers
Method
setB
(int value)
value/src/test/java/com/google/auto/value/extension/serializable/processor/SerializableAutoValueExtensionTest.java:64
↓ 9 callers
Method
toString
()
value/src/main/java/com/google/auto/value/processor/AutoAnnotationProcessor.java:530
↓ 9 callers
Method
toText
Returns the result of substituting the variables defined by the fields of this class (a concrete subclass of TemplateVars) into the template returned
value/src/main/java/com/google/auto/value/processor/TemplateVars.java:98
↓ 9 callers
Method
valueOfType
(AnnotationValue annotationValue, Class<T> type)
common/src/main/java/com/google/auto/common/AnnotationValues.java:256
↓ 9 callers
Method
visit2
Equivalent to {@code visit(type, sb)} or {@code type.accept(sb)}, except that it fixes a bug with javac versions up to JDK 8, whereby if the type is a
value/src/main/java/com/google/auto/value/processor/TypeEncoder.java:297
↓ 8 callers
Method
annotations
The set of fully-qualified annotation type names processed by this step. <p>Warning: If the returned names are not names of annotations, they'll be i
common/src/main/java/com/google/auto/common/BasicAnnotationProcessor.java:469
↓ 8 callers
Method
checkNotNull
(T reference, int argumentNumber, int argumentCount)
factory/src/test/resources/expected/SimpleClassProvidedDepsFactory.java:52
↓ 8 callers
Method
create
(String name)
value/src/it/functional/src/test/java/com/google/auto/value/AutoOneOfTest.java:43
↓ 8 callers
Method
declaration
()
factory/src/main/java/com/google/auto/factory/processor/FactoryDescriptor.java:66
↓ 8 callers
Method
dependency
()
factory/src/it/functional/src/main/java/com/google/auto/factory/Foo.java:56
↓ 8 callers
Method
dependencyProvider
()
factory/src/it/functional/src/main/java/com/google/auto/factory/Foo.java:60
↓ 8 callers
Method
equal
( @Nullable TypeMirror a, @Nullable TypeMirror b, Set<ComparedElements> visiting)
common/src/main/java/com/google/auto/common/MoreTypes.java:321
↓ 8 callers
Method
foo
(int foo)
value/src/it/functional/src/test/java/com/google/auto/value/AutoValueTest.java:1477
↓ 8 callers
Method
fromMethods
Make an instance where the default {@code @Nullable} type annotation is discovered by looking for methods whose parameter or return types have such an
value/src/main/java/com/google/auto/value/processor/Nullables.java:69
↓ 8 callers
Method
getAnnotationValuesWithDefaults
Returns the {@link AnnotationMirror}'s map of {@link AnnotationValue} indexed by {@link ExecutableElement}, supplying default values from the annotati
common/src/main/java/com/google/auto/common/AnnotationMirrors.java:95
↓ 8 callers
Method
getDefaultValue
()
value/src/main/java/com/google/auto/value/processor/AutoAnnotationProcessor.java:587
↓ 8 callers
Method
getPackage
An alternate implementation of {@link Elements#getPackageOf} that does not require an {@link Elements} instance. @throws NullPointerException if {@co
common/src/main/java/com/google/auto/common/MoreElements.java:64
↓ 8 callers
Method
invocation
(TypeMirror parameterType, Supplier<CodeBlock> methodBody)
value/src/main/java/com/google/auto/value/extension/toprettystring/processor/ToPrettyStringExtension.java:256
↓ 8 callers
Method
isVarArgs
()
factory/src/main/java/com/google/auto/factory/processor/FactoryMethodDescriptor.java:61
↓ 8 callers
Method
iterator
()
value/src/main/java/com/google/auto/value/processor/TypeMirrorSet.java:55
↓ 8 callers
Method
next
()
value/src/main/java/com/google/auto/value/processor/TypeMirrorSet.java:64
↓ 8 callers
Method
nonObjectSuperclass
( Types types, Elements elements, DeclaredType type)
common/src/main/java/com/google/auto/common/MoreTypes.java:915
↓ 8 callers
Method
nullableAnnotationFor
Returns an appropriate annotation spelling to indicate the nullability of an element. If the return value is a non-empty Optional, that indicates that
value/src/main/java/com/google/auto/value/processor/AutoValueishProcessor.java:717
↓ 8 callers
Method
of
(String method, ImmutableList<Object> args)
value/src/it/functional/src/test/java/com/google/auto/value/gwt/CustomFieldSerializerTest.java:253
↓ 8 callers
Method
returnType
()
factory/src/main/java/com/google/auto/factory/processor/FactoryMethodDescriptor.java:37
↓ 8 callers
Method
setThings
(ImmutableSet<T> things)
value/src/it/functional/src/test/java/com/google/auto/value/AutoValueTest.java:2432
↓ 8 callers
Method
simple
(SimpleWithBuilder simple)
value/src/it/gwtserializer/src/test/java/com/google/auto/value/client/GwtSerializerTest.java:174
↓ 8 callers
Method
singlePropertyHash
(Object property)
value/src/it/functional/src/test/java/com/google/auto/value/AutoValueTest.java:491
↓ 8 callers
Method
toString
()
value/src/it/functional/src/test/java/com/google/auto/value/AutoOneOfTest.java:406
↓ 8 callers
Method
toString
()
value/src/test/java/com/google/auto/value/extension/memoized/MemoizedTest.java:178
↓ 8 callers
Method
tokenEnd
Returns the position at which this token ends and the next token begins.
value/src/main/java/com/google/auto/value/processor/JavaScanner.java:56
↓ 7 callers
Method
create
(boolean[] booleans, int[] ints)
value/src/it/functional/src/test/java/com/google/auto/value/AutoValueTest.java:1091
↓ 7 callers
Method
create
(boolean[] booleans, int[] ints)
value/src/it/functional/src/test/java/com/google/auto/value/AutoValueJava8Test.java:452
← previous
next →
101–200 of 3,917, ranked by callers