public class WireInformation extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
WireInformation.Builder |
| Constructor and Description |
|---|
WireInformation(@NotNull TypeElement wireCandidate,
@NotNull TypeElement primaryWireType,
@NotNull PackageElement targetPackage,
@Nullable ExecutableElement primaryConstructor,
boolean singleton,
boolean proxyExpected,
@Nullable Integer wirePriority,
@NotNull List<TypeElement> wiredToElements) |
| Modifier and Type | Method and Description |
|---|---|
static WireInformation.Builder |
builderFor(TypeElement typeElement) |
<T extends Annotation> |
findAnnotation(Class<T> annotationType) |
void |
forceSingleton() |
List<TypeElement> |
getAllWireCandidates() |
Optional<ExecutableElement> |
getPrimaryConstructor() |
TypeElement |
getPrimaryWireType() |
PackageElement |
getTargetPackage() |
TypeElement |
getWireCandidate() |
Optional<Integer> |
getWirePriority() |
boolean |
isProxyExpected() |
boolean |
isSingleton() |
com.squareup.javapoet.ClassName |
primaryClassName() |
com.squareup.javapoet.ClassName |
realClassName() |
String |
simpleClassName() |
public WireInformation(@NotNull
@NotNull TypeElement wireCandidate,
@NotNull
@NotNull TypeElement primaryWireType,
@NotNull
@NotNull PackageElement targetPackage,
@Nullable
@Nullable ExecutableElement primaryConstructor,
boolean singleton,
boolean proxyExpected,
@Nullable
@Nullable Integer wirePriority,
@NotNull
@NotNull List<TypeElement> wiredToElements)
public static WireInformation.Builder builderFor(TypeElement typeElement)
public <T extends Annotation> Optional<T> findAnnotation(Class<T> annotationType)
public String simpleClassName()
public TypeElement getWireCandidate()
public Optional<ExecutableElement> getPrimaryConstructor()
public boolean isSingleton()
public TypeElement getPrimaryWireType()
public void forceSingleton()
public PackageElement getTargetPackage()
public List<TypeElement> getAllWireCandidates()
public com.squareup.javapoet.ClassName primaryClassName()
public com.squareup.javapoet.ClassName realClassName()
public boolean isProxyExpected()
Copyright © 2022. All rights reserved.