Class BindingDeclaration
java.lang.Object
ru.vyarus.dropwizard.guice.debug.report.guice.model.BindingDeclaration
Guice binding declaration.
- Since:
- 13.08.2019
-
Constructor Summary
ConstructorsConstructorDescriptionBindingDeclaration(DeclarationType type, Object element) Create binding declaration. -
Method Summary
Modifier and TypeMethodDescriptionbooleancom.google.inject.KeygetKey()Class<? extends Annotation>getScope()intList<?>com.google.inject.KeygetType()inthashCode()voidsetKey(com.google.inject.Key key) voidvoidsetProvidedBy(String providedBy) voidsetScope(Class<? extends Annotation> scope) voidvoidsetSourceLine(int sourceLine) voidsetSpecial(List<?> special) voidsetTarget(com.google.inject.Key target) toString()
-
Constructor Details
-
BindingDeclaration
Create binding declaration.- Parameters:
type- binding typeelement- binding element
-
-
Method Details
-
getType
- Returns:
- binding type
-
getElement
- Returns:
- binding element
-
getKey
public com.google.inject.Key getKey()- Returns:
- binding key
-
setKey
public void setKey(com.google.inject.Key key) - Parameters:
key- binding key
-
getTarget
public com.google.inject.Key getTarget()- Returns:
- target key for linked bindings or null
-
setTarget
public void setTarget(com.google.inject.Key target) - Parameters:
target- target key
-
getProvidedBy
- Returns:
- provider key (render) or another provider identity, otherwise null
-
setProvidedBy
- Parameters:
providedBy- rendered provider key or another provider identity
-
getScope
- Returns:
- binding scope
-
setScope
- Parameters:
scope- binding scope
-
getSource
- Returns:
- binding declaration source
-
setSource
- Parameters:
source- binding declaration source
-
getSourceLine
public int getSourceLine()- Returns:
- binding declaration source line
-
setSourceLine
public void setSourceLine(int sourceLine) - Parameters:
sourceLine- binding declaration source line
-
getSpecial
- Returns:
- additional binding data (type listener, provision listener or aop interceptors declaration bindings. etc.)
-
setSpecial
- Parameters:
special- special binding data
-
getMarkers
- Returns:
- binding markers (OVERRIDE, OVERRIDDEN, EXTENSION, REMOVED)
-
getModule
- Returns:
- module name
-
setModule
- Parameters:
module- module name
-
toString
-
equals
-
hashCode
public int hashCode()
-