Skip navigation links
A B C D E F G H I L M N P S T U V W 

A

accept(PotentialAnnotation.Visitor<T>) - Method in class com.tavianator.sangria.core.PotentialAnnotation
addBinding() - Method in class com.tavianator.sangria.listbinder.ListBinder
Add an entry to the list.
AnnotatedContextSensitiveBindingBuilder<T> - Interface in com.tavianator.sangria.contextual
See the EDSL examples here.
AnnotatedListBinderBuilder<T> - Interface in com.tavianator.sangria.listbinder
Fluent builder interface.
annotatedWith(Class<? extends Annotation>) - Method in interface com.tavianator.sangria.contextual.AnnotatedContextSensitiveBindingBuilder
See the EDSL examples here.
annotatedWith(Annotation) - Method in interface com.tavianator.sangria.contextual.AnnotatedContextSensitiveBindingBuilder
See the EDSL examples here.
annotatedWith(Class<? extends Annotation>) - Method in class com.tavianator.sangria.core.PotentialAnnotation
Add an annotation.
annotatedWith(Annotation) - Method in class com.tavianator.sangria.core.PotentialAnnotation
Add an annotation.
annotatedWith(Class<? extends Annotation>) - Method in interface com.tavianator.sangria.listbinder.AnnotatedListBinderBuilder
Make a binder for an annotated list type.
annotatedWith(Annotation) - Method in interface com.tavianator.sangria.listbinder.AnnotatedListBinderBuilder
Make a binder for an annotated list type.

B

bind(Class<T>) - Method in class com.tavianator.sangria.contextual.ContextSensitiveBinder
See the EDSL examples here.
bind(TypeLiteral<T>) - Method in class com.tavianator.sangria.contextual.ContextSensitiveBinder
See the EDSL examples here.
bind(Key<T>) - Method in class com.tavianator.sangria.contextual.ContextSensitiveBinder
See the EDSL examples here.
build(Binder, Class<T>) - Static method in class com.tavianator.sangria.listbinder.ListBinder
Start building a ListBinder.
build(Binder, TypeLiteral<T>) - Static method in class com.tavianator.sangria.listbinder.ListBinder
Start building a ListBinder.

C

cancel() - Method in class com.tavianator.sangria.core.DelayedError
Cancel this error.
com.tavianator.sangria.contextual - package com.tavianator.sangria.contextual
sangria-contextual: Context-sensitive providers.
com.tavianator.sangria.core - package com.tavianator.sangria.core
sangria-core: Common code for Sangria.
com.tavianator.sangria.listbinder - package com.tavianator.sangria.listbinder
sangria-listbinder: A multi-binder with guaranteed order.
com.tavianator.sangria.log4j - package com.tavianator.sangria.log4j
sangria-log4j: Log4j Logger injection.
com.tavianator.sangria.slf4j - package com.tavianator.sangria.slf4j
sangria-slf4j: SLF4J Logger injection.
compareTo(Priority) - Method in class com.tavianator.sangria.core.Priority
 
configure() - Method in class com.tavianator.sangria.log4j.SangriaLog4jModule
 
configure() - Method in class com.tavianator.sangria.slf4j.SangriaSlf4jModule
 
ContextSensitiveBinder - Class in com.tavianator.sangria.contextual
ContextSensitiveBindingBuilder<T> - Interface in com.tavianator.sangria.contextual
See the EDSL examples here.
ContextSensitiveBindingVisitor<T,V> - Interface in com.tavianator.sangria.contextual
Visitor interface for the context-sensitive binding SPI.
ContextSensitiveProvider<T> - Interface in com.tavianator.sangria.contextual
Like a Provider, but with knowledge of the target InjectionPoint.
ContextSensitiveProviderInstanceBinding<T> - Interface in com.tavianator.sangria.contextual
SPI for ContextSensitiveProvider key bindings.
ContextSensitiveProviderKeyBinding<T> - Interface in com.tavianator.sangria.contextual
SPI for ContextSensitiveProvider key bindings.
create(Binder) - Static method in class com.tavianator.sangria.contextual.ContextSensitiveBinder
create(Binder, String, Object...) - Static method in class com.tavianator.sangria.core.DelayedError
Create a DelayedError.
create(Binder, Throwable) - Static method in class com.tavianator.sangria.core.DelayedError
Create a DelayedError.
create(Binder, Message) - Static method in class com.tavianator.sangria.core.DelayedError
Create a DelayedError.
create(int, int...) - Static method in class com.tavianator.sangria.core.Priority
Create a Priority with the given sequence.
create() - Static method in class com.tavianator.sangria.core.UniqueAnnotations
 

D

DelayedError - Class in com.tavianator.sangria.core
Similar to Binder.addError(String, Object...), but can be canceled later.

E

equals(Object) - Method in class com.tavianator.sangria.core.Priority
 

F

format(String, Object...) - Static method in class com.tavianator.sangria.core.PrettyTypes
Format a message.

G

getContextSensitiveProviderInstance() - Method in interface com.tavianator.sangria.contextual.ContextSensitiveProviderInstanceBinding
 
getContextSensitiveProviderKey() - Method in interface com.tavianator.sangria.contextual.ContextSensitiveProviderKeyBinding
 
getDefault() - Static method in class com.tavianator.sangria.core.Priority
 
getInContext(InjectionPoint) - Method in interface com.tavianator.sangria.contextual.ContextSensitiveProvider
Provide an instance of T for the given context.
getInjectionPoints() - Method in interface com.tavianator.sangria.contextual.ContextSensitiveProviderInstanceBinding
 
getInUnknownContext() - Method in interface com.tavianator.sangria.contextual.ContextSensitiveProvider
Provide an instance of T for an unknown context.
getKey(Class<T>) - Method in class com.tavianator.sangria.core.PotentialAnnotation
Create a Key with the given type and the stored annotation.
getKey(TypeLiteral<T>) - Method in class com.tavianator.sangria.core.PotentialAnnotation
Create a Key with the given type and the stored annotation.

H

hasAnnotation() - Method in class com.tavianator.sangria.core.PotentialAnnotation
 
hashCode() - Method in class com.tavianator.sangria.core.Priority
 

I

isDefault() - Method in class com.tavianator.sangria.core.Priority
 

L

ListBinder<T> - Class in com.tavianator.sangria.listbinder
A multi-binder with guaranteed order.
ListBinderBuilder<T> - Interface in com.tavianator.sangria.listbinder
Fluent builder interface.
listOf(Class<T>) - Static method in class com.tavianator.sangria.core.TypeLiterals
 
listOf(TypeLiteral<T>) - Static method in class com.tavianator.sangria.core.TypeLiterals
 

M

mapOf(Class<K>, Class<V>) - Static method in class com.tavianator.sangria.core.TypeLiterals
 
mapOf(Class<K>, TypeLiteral<V>) - Static method in class com.tavianator.sangria.core.TypeLiterals
 
mapOf(TypeLiteral<K>, Class<V>) - Static method in class com.tavianator.sangria.core.TypeLiterals
 
mapOf(TypeLiteral<K>, TypeLiteral<V>) - Static method in class com.tavianator.sangria.core.TypeLiterals
 

N

next() - Method in class com.tavianator.sangria.core.Priority
 
none() - Static method in class com.tavianator.sangria.core.PotentialAnnotation
 

P

PotentialAnnotation - Class in com.tavianator.sangria.core
A record of stored annotations, perfect for builders with annotatedWith() methods.
PotentialAnnotation.Visitor<T> - Interface in com.tavianator.sangria.core
A visitor interface to examine a PotentialAnnotation's annotation, if it exists.
PrettyTypes - Class in com.tavianator.sangria.core
Utility class for pretty-printing messages containing types.
Priority - Class in com.tavianator.sangria.core
A loosely-coupled, infinitely divisible priority/weight system.
providerOf(Class<T>) - Static method in class com.tavianator.sangria.core.TypeLiterals
 
providerOf(TypeLiteral<T>) - Static method in class com.tavianator.sangria.core.TypeLiterals
 

S

SangriaLog4jModule - Class in com.tavianator.sangria.log4j
Module for Log4j Logger injection.
SangriaLog4jModule() - Constructor for class com.tavianator.sangria.log4j.SangriaLog4jModule
 
SangriaSlf4jModule - Class in com.tavianator.sangria.slf4j
Module for SLF4J Logger injection.
SangriaSlf4jModule() - Constructor for class com.tavianator.sangria.slf4j.SangriaSlf4jModule
 
setOf(Class<T>) - Static method in class com.tavianator.sangria.core.TypeLiterals
 
setOf(TypeLiteral<T>) - Static method in class com.tavianator.sangria.core.TypeLiterals
 

T

toContextSensitiveProvider(Class<? extends ContextSensitiveProvider<? extends T>>) - Method in interface com.tavianator.sangria.contextual.ContextSensitiveBindingBuilder
See the EDSL examples here.
toContextSensitiveProvider(TypeLiteral<? extends ContextSensitiveProvider<? extends T>>) - Method in interface com.tavianator.sangria.contextual.ContextSensitiveBindingBuilder
See the EDSL examples here.
toContextSensitiveProvider(Key<? extends ContextSensitiveProvider<? extends T>>) - Method in interface com.tavianator.sangria.contextual.ContextSensitiveBindingBuilder
See the EDSL examples here.
toContextSensitiveProvider(ContextSensitiveProvider<? extends T>) - Method in interface com.tavianator.sangria.contextual.ContextSensitiveBindingBuilder
See the EDSL examples here.
toString() - Method in class com.tavianator.sangria.core.PotentialAnnotation
 
toString() - Method in class com.tavianator.sangria.core.Priority
 
toString() - Method in class com.tavianator.sangria.listbinder.ListBinder
 
TypeLiterals - Class in com.tavianator.sangria.core
Static utility functions for working with TypeLiterals.

U

UniqueAnnotations - Class in com.tavianator.sangria.core
Re-implementation of Guice's internal UniqueAnnotations utility.

V

visit(ContextSensitiveProviderKeyBinding<? extends T>) - Method in interface com.tavianator.sangria.contextual.ContextSensitiveBindingVisitor
visit(ContextSensitiveProviderInstanceBinding<? extends T>) - Method in interface com.tavianator.sangria.contextual.ContextSensitiveBindingVisitor
visitAnnotationInstance(Annotation) - Method in interface com.tavianator.sangria.core.PotentialAnnotation.Visitor
Called when an annotation instance is stored.
visitAnnotationType(Class<? extends Annotation>) - Method in interface com.tavianator.sangria.core.PotentialAnnotation.Visitor
Called when an annotation type is stored.
visitNoAnnotation() - Method in interface com.tavianator.sangria.core.PotentialAnnotation.Visitor
Called when there is no annotation.

W

withDefaultPriority() - Method in interface com.tavianator.sangria.listbinder.ListBinderBuilder
 
withPriority(int, int...) - Method in interface com.tavianator.sangria.listbinder.ListBinderBuilder
 
A B C D E F G H I L M N P S T U V W 
Skip navigation links

Copyright © 2014. All rights reserved.