A B C D E F G H I K L M N O P R S T U

A

access(Object) - Method in interface org.ubercraft.sucre.reflect.Accessor
 
Accessor - Interface in org.ubercraft.sucre.reflect
 
AccessorMutator - Interface in org.ubercraft.sucre.reflect
 
addAll(Attributes) - Method in class org.ubercraft.sucre.attributes.Attributes
 
addAll(Map<? extends Object, ? extends Object>) - Method in class org.ubercraft.sucre.attributes.Attributes
 
asChecked(Throwable) - Static method in class org.ubercraft.sucre.common.ExceptionUtil
 
asError(Throwable) - Static method in class org.ubercraft.sucre.common.ExceptionUtil
 
AssertUtil - Class in org.ubercraft.sucre.common
 
AssertUtil() - Constructor for class org.ubercraft.sucre.common.AssertUtil
 
asUnchecked(Throwable) - Static method in class org.ubercraft.sucre.common.ExceptionUtil
 
AttributeCoercer - Annotation Type in org.ubercraft.sucre.attributes
 
AttributeCoerceStrict - Annotation Type in org.ubercraft.sucre.attributes
 
AttributeDateFormats - Annotation Type in org.ubercraft.sucre.attributes
 
AttributeDateTimeZone - Annotation Type in org.ubercraft.sucre.attributes
 
AttributeDefaultBoolean - Annotation Type in org.ubercraft.sucre.attributes
 
AttributeDefaultClass - Annotation Type in org.ubercraft.sucre.attributes
 
AttributeDefaultDouble - Annotation Type in org.ubercraft.sucre.attributes
 
AttributeDefaultInt - Annotation Type in org.ubercraft.sucre.attributes
 
AttributeDefaultLong - Annotation Type in org.ubercraft.sucre.attributes
 
AttributeDefaultString - Annotation Type in org.ubercraft.sucre.attributes
 
AttributeKey - Annotation Type in org.ubercraft.sucre.attributes
 
attributeKeyFor(Accessor) - Static method in class org.ubercraft.sucre.attributes.AttributesUtil
 
Attributes - Class in org.ubercraft.sucre.attributes
 
Attributes() - Constructor for class org.ubercraft.sucre.attributes.Attributes
 
Attributes(Map<? extends Object, ? extends Object>) - Constructor for class org.ubercraft.sucre.attributes.Attributes
 
Attributes(Attributes) - Constructor for class org.ubercraft.sucre.attributes.Attributes
 
Attributes(Map<? extends Object, ? extends Object>, Attributes) - Constructor for class org.ubercraft.sucre.attributes.Attributes
 
AttributesUtil - Class in org.ubercraft.sucre.attributes
 
AttributesUtil() - Constructor for class org.ubercraft.sucre.attributes.AttributesUtil
 

B

backedBy(Map<? extends Object, ? extends Object>) - Static method in class org.ubercraft.sucre.attributes.Attributes
 
backedBy(Map<? extends Object, ? extends Object>, Attributes) - Static method in class org.ubercraft.sucre.attributes.Attributes
 

C

clear() - Method in class org.ubercraft.sucre.attributes.Attributes
 
clearCache() - Method in class org.ubercraft.sucre.reflect.Reflect
Completely clears the reflector cache.
coerce(Object, Class<?>, boolean) - Method in interface org.ubercraft.sucre.coercer.Coercer
 
coerce(Object, Class<?>, boolean) - Method in class org.ubercraft.sucre.coercer.DateCoercer
 
Coercer - Interface in org.ubercraft.sucre.coercer
 
CoercerException - Exception in org.ubercraft.sucre.coercer
 
CoercerException() - Constructor for exception org.ubercraft.sucre.coercer.CoercerException
 
CoercerException(String) - Constructor for exception org.ubercraft.sucre.coercer.CoercerException
 
CoercerException(Throwable) - Constructor for exception org.ubercraft.sucre.coercer.CoercerException
 
CoercerException(String, Throwable) - Constructor for exception org.ubercraft.sucre.coercer.CoercerException
 
CoercerFactory - Interface in org.ubercraft.sucre.coercer
 
coercerFor(Accessor) - Static method in class org.ubercraft.sucre.attributes.AttributesUtil
 
CoercerUtil - Class in org.ubercraft.sucre.coercer
 
CoercerUtil() - Constructor for class org.ubercraft.sucre.coercer.CoercerUtil
 
coerceToBigDecimal(Object, boolean) - Static method in class org.ubercraft.sucre.coercer.CoercerUtil
 
coerceToBigDecimal(Object, boolean, BigDecimal) - Static method in class org.ubercraft.sucre.coercer.CoercerUtil
 
coerceToBigInteger(Object, boolean) - Static method in class org.ubercraft.sucre.coercer.CoercerUtil
 
coerceToBigInteger(Object, boolean, BigInteger) - Static method in class org.ubercraft.sucre.coercer.CoercerUtil
 
coerceToBoolean(Object, boolean) - Static method in class org.ubercraft.sucre.coercer.CoercerUtil
 
coerceToBoolean(Object, boolean, Boolean) - Static method in class org.ubercraft.sucre.coercer.CoercerUtil
 
coerceToByte(Object, boolean) - Static method in class org.ubercraft.sucre.coercer.CoercerUtil
 
coerceToByte(Object, boolean, Byte) - Static method in class org.ubercraft.sucre.coercer.CoercerUtil
 
coerceToChar(Object, boolean) - Static method in class org.ubercraft.sucre.coercer.CoercerUtil
 
coerceToChar(Object, boolean, Character) - Static method in class org.ubercraft.sucre.coercer.CoercerUtil
 
coerceToDouble(Object, boolean) - Static method in class org.ubercraft.sucre.coercer.CoercerUtil
 
coerceToDouble(Object, boolean, Double) - Static method in class org.ubercraft.sucre.coercer.CoercerUtil
 
coerceToEnum(Class<? extends Enum>, Object, boolean) - Static method in class org.ubercraft.sucre.coercer.CoercerUtil
 
coerceToEnum(Class<? extends Enum>, Object, boolean, Enum<?>) - Static method in class org.ubercraft.sucre.coercer.CoercerUtil
 
coerceToInteger(Object, boolean) - Static method in class org.ubercraft.sucre.coercer.CoercerUtil
 
coerceToInteger(Object, boolean, Integer) - Static method in class org.ubercraft.sucre.coercer.CoercerUtil
 
coerceToLong(Object, boolean) - Static method in class org.ubercraft.sucre.coercer.CoercerUtil
 
coerceToLong(Object, boolean, Long) - Static method in class org.ubercraft.sucre.coercer.CoercerUtil
 
coerceToShort(Object, boolean) - Static method in class org.ubercraft.sucre.coercer.CoercerUtil
 
coerceToShort(Object, boolean, Short) - Static method in class org.ubercraft.sucre.coercer.CoercerUtil
 
coerceToString(Object) - Static method in class org.ubercraft.sucre.coercer.CoercerUtil
 
coerceToString(Object, String) - Static method in class org.ubercraft.sucre.coercer.CoercerUtil
 
coerceValue(Object, Class<? extends T>, boolean) - Static method in class org.ubercraft.sucre.coercer.CoercerUtil
 
coerceValue(Object, Class<? extends T>, boolean, T) - Static method in class org.ubercraft.sucre.coercer.CoercerUtil
 
createCoercer(Accessor) - Method in interface org.ubercraft.sucre.coercer.CoercerFactory
 
createReflector(Class<?>) - Method in class org.ubercraft.sucre.reflect.FieldReflectorFactory
 
createReflector(Class<?>) - Method in class org.ubercraft.sucre.reflect.MethodReflectorFactory
 
createReflector(Class<?>) - Method in interface org.ubercraft.sucre.reflect.ReflectorFactory
 

D

DateCoercer - Class in org.ubercraft.sucre.coercer
 
DateCoercer(TimeZone, String...) - Constructor for class org.ubercraft.sucre.coercer.DateCoercer
 
DEFAULT_COERCER - Static variable in class org.ubercraft.sucre.coercer.CoercerUtil
 
DEFAULT_LOWER_CASE_PROXY_KEY_FACTORY - Static variable in class org.ubercraft.sucre.attributes.DefaultLowerCaseProxyKeyFactory
 
DEFAULT_PROXY_KEY_FACTORY - Static variable in class org.ubercraft.sucre.attributes.DefaultProxyKeyFactory
 
DefaultLowerCaseProxyKeyFactory - Class in org.ubercraft.sucre.attributes
 
DefaultLowerCaseProxyKeyFactory() - Constructor for class org.ubercraft.sucre.attributes.DefaultLowerCaseProxyKeyFactory
 
DefaultProxyKeyFactory - Class in org.ubercraft.sucre.attributes
 
DefaultProxyKeyFactory() - Constructor for class org.ubercraft.sucre.attributes.DefaultProxyKeyFactory
 
defaultValueFor(Accessor) - Static method in class org.ubercraft.sucre.attributes.AttributesUtil
 

E

EMPTY_ATTRIBUTES - Static variable in class org.ubercraft.sucre.attributes.Attributes
 
equals(Object) - Method in class org.ubercraft.sucre.attributes.Attributes
 
ExceptionUtil - Class in org.ubercraft.sucre.common
 
ExceptionUtil() - Constructor for class org.ubercraft.sucre.common.ExceptionUtil
 

F

FieldReflector - Interface in org.ubercraft.sucre.reflect
 
FieldReflectorFactory - Class in org.ubercraft.sucre.reflect
This class reflects a class's accessors and its mutators using Java reflection on its fields.
FieldReflectorFactory() - Constructor for class org.ubercraft.sucre.reflect.FieldReflectorFactory
 
FIELDS - Static variable in class org.ubercraft.sucre.reflect.Reflect
A shared instance for field-based access.

G

get(Object) - Method in class org.ubercraft.sucre.attributes.Attributes
 
get(Object, Object) - Method in class org.ubercraft.sucre.attributes.Attributes
 
getAccessor() - Method in class org.ubercraft.sucre.attributes.ProxyKey
 
getAccessor(String) - Method in interface org.ubercraft.sucre.reflect.Reflector
 
getAccessors() - Method in interface org.ubercraft.sucre.reflect.Reflector
 
getAnnotation(Class<T>) - Method in interface org.ubercraft.sucre.reflect.AccessorMutator
 
getAnnotations() - Method in interface org.ubercraft.sucre.reflect.AccessorMutator
 
getAttributeKeyFor(Accessor) - Method in class org.ubercraft.sucre.attributes.DefaultLowerCaseProxyKeyFactory
 
getAttributeKeyFor(Accessor) - Method in class org.ubercraft.sucre.attributes.DefaultProxyKeyFactory
 
getBoolean(Object) - Method in class org.ubercraft.sucre.attributes.Attributes
 
getBoolean(Object, boolean) - Method in class org.ubercraft.sucre.attributes.Attributes
 
getCoercer() - Method in class org.ubercraft.sucre.attributes.ProxyKey
 
getCoercerFor(Accessor) - Method in class org.ubercraft.sucre.attributes.DefaultProxyKeyFactory
 
getDeclaringType() - Method in interface org.ubercraft.sucre.reflect.AccessorMutator
 
getDefault() - Method in class org.ubercraft.sucre.attributes.ProxyKey
 
getDefaultIsCoerceStrictFor(Accessor) - Method in class org.ubercraft.sucre.attributes.DefaultProxyKeyFactory
 
getDefaults() - Method in class org.ubercraft.sucre.attributes.Attributes
 
getDefaultValueFor(Accessor) - Method in class org.ubercraft.sucre.attributes.DefaultProxyKeyFactory
 
getDouble(Object) - Method in class org.ubercraft.sucre.attributes.Attributes
 
getDouble(Object, double) - Method in class org.ubercraft.sucre.attributes.Attributes
 
getField() - Method in interface org.ubercraft.sucre.reflect.FieldReflector
 
getInt(Object) - Method in class org.ubercraft.sucre.attributes.Attributes
 
getInt(Object, int) - Method in class org.ubercraft.sucre.attributes.Attributes
 
getKey(int) - Method in class org.ubercraft.sucre.attributes.ProxyKey
 
getMethod() - Method in interface org.ubercraft.sucre.reflect.MethodReflector
 
getMutator(String) - Method in interface org.ubercraft.sucre.reflect.Reflector
 
getMutators() - Method in interface org.ubercraft.sucre.reflect.Reflector
 
getName() - Method in interface org.ubercraft.sucre.reflect.AccessorMutator
 
getNumKeys() - Method in class org.ubercraft.sucre.attributes.ProxyKey
 
getPairedAccessor() - Method in interface org.ubercraft.sucre.reflect.AccessorMutator
 
getPairedMutator() - Method in interface org.ubercraft.sucre.reflect.AccessorMutator
 
getPrimitiveDefault(Class<?>) - Static method in class org.ubercraft.sucre.common.ObjectUtil
 
getProxiedAttributes(Object) - Static method in class org.ubercraft.sucre.attributes.Attributes
 
getProxyKeys(Object) - Static method in class org.ubercraft.sucre.attributes.Attributes
 
getReflector(Class<?>) - Method in class org.ubercraft.sucre.reflect.Reflect
Gets the reflector for a type.
getString(Object) - Method in class org.ubercraft.sucre.attributes.Attributes
 
getString(Object, String) - Method in class org.ubercraft.sucre.attributes.Attributes
 
getType() - Method in interface org.ubercraft.sucre.reflect.AccessorMutator
 
getTyped(Class<T>) - Method in class org.ubercraft.sucre.attributes.Attributes
 
getValues() - Method in class org.ubercraft.sucre.attributes.Attributes
 

H

hashCode() - Method in class org.ubercraft.sucre.attributes.Attributes
 
hasKey(Object) - Method in class org.ubercraft.sucre.attributes.Attributes
 
hasKeyOrDefaultKey(Object) - Method in class org.ubercraft.sucre.attributes.Attributes
 

I

isCoerceStrictFor(Accessor) - Static method in class org.ubercraft.sucre.attributes.AttributesUtil
 
isEqualsMethod(Method) - Static method in class org.ubercraft.sucre.common.ReflectionUtil
 
isHashCodeMethod(Method) - Static method in class org.ubercraft.sucre.common.ReflectionUtil
 
isNull(T) - Static method in class org.ubercraft.sucre.common.AssertUtil
 
isNull(T, String) - Static method in class org.ubercraft.sucre.common.AssertUtil
 
isPaired() - Method in interface org.ubercraft.sucre.reflect.AccessorMutator
 
isStrictCoerce() - Method in class org.ubercraft.sucre.attributes.ProxyKey
 
isToStringMethod(Method) - Static method in class org.ubercraft.sucre.common.ReflectionUtil
 

K

keySet() - Method in class org.ubercraft.sucre.attributes.Attributes
 

L

leftEquals(Object, Object) - Static method in class org.ubercraft.sucre.common.ObjectUtil
 

M

MethodReflector - Interface in org.ubercraft.sucre.reflect
 
MethodReflectorFactory - Class in org.ubercraft.sucre.reflect
This class reflects a class's accessors and its mutators using Java reflection on its methods.
MethodReflectorFactory() - Constructor for class org.ubercraft.sucre.reflect.MethodReflectorFactory
 
METHODS - Static variable in class org.ubercraft.sucre.reflect.Reflect
A shared instance for method-based access.
mutate(Object, Object) - Method in interface org.ubercraft.sucre.reflect.Mutator
 
Mutator - Interface in org.ubercraft.sucre.reflect
 

N

newInstanceUnchecked(Class<? extends T>) - Static method in class org.ubercraft.sucre.common.ReflectionUtil
 
notNull(T) - Static method in class org.ubercraft.sucre.common.AssertUtil
 
notNull(T, String) - Static method in class org.ubercraft.sucre.common.AssertUtil
 
nullSafeEquals(Object, Object) - Static method in class org.ubercraft.sucre.common.ObjectUtil
 

O

ObjectUtil - Class in org.ubercraft.sucre.common
 
ObjectUtil() - Constructor for class org.ubercraft.sucre.common.ObjectUtil
 
org.ubercraft.sucre.attributes - package org.ubercraft.sucre.attributes
 
org.ubercraft.sucre.coercer - package org.ubercraft.sucre.coercer
 
org.ubercraft.sucre.common - package org.ubercraft.sucre.common
 
org.ubercraft.sucre.reflect - package org.ubercraft.sucre.reflect
 

P

preCache(Class<?>) - Method in class org.ubercraft.sucre.reflect.Reflect
Causes the reflector for the given type to be pre-cached.
preCache() - Method in interface org.ubercraft.sucre.reflect.Reflector
 
proxy(Class<T>, Class<?>...) - Method in class org.ubercraft.sucre.attributes.Attributes
 
proxy(Reflect, Class<T>, Class<?>...) - Method in class org.ubercraft.sucre.attributes.Attributes
 
proxy(ProxyKeyFactory, Class<T>, Class<?>...) - Method in class org.ubercraft.sucre.attributes.Attributes
 
proxy(ProxyKeyFactory, Reflect, Class<T>, Class<?>...) - Method in class org.ubercraft.sucre.attributes.Attributes
 
ProxyKey - Class in org.ubercraft.sucre.attributes
 
ProxyKey(Accessor, Object) - Constructor for class org.ubercraft.sucre.attributes.ProxyKey
 
ProxyKey(Accessor, Object, Object) - Constructor for class org.ubercraft.sucre.attributes.ProxyKey
 
ProxyKey(Accessor, Object, Object, boolean) - Constructor for class org.ubercraft.sucre.attributes.ProxyKey
 
ProxyKey(Accessor, Object, boolean) - Constructor for class org.ubercraft.sucre.attributes.ProxyKey
 
ProxyKey(Accessor, Object, Coercer, boolean) - Constructor for class org.ubercraft.sucre.attributes.ProxyKey
 
ProxyKey(Accessor, Object, Object, Coercer, boolean) - Constructor for class org.ubercraft.sucre.attributes.ProxyKey
 
ProxyKeyFactory - Interface in org.ubercraft.sucre.attributes
 
proxyKeyFor(Accessor) - Method in class org.ubercraft.sucre.attributes.DefaultProxyKeyFactory
 
proxyKeyFor(Accessor) - Method in interface org.ubercraft.sucre.attributes.ProxyKeyFactory
 
proxyKeyWithAttributeKeyFor(Accessor, Object) - Method in class org.ubercraft.sucre.attributes.DefaultProxyKeyFactory
 
proxyKeyWithAttributeKeysFor(Accessor, Object...) - Method in class org.ubercraft.sucre.attributes.DefaultProxyKeyFactory
 

R

Reflect - Class in org.ubercraft.sucre.reflect
Main entry point to get and/or register reflector factories and reflectors by type.
Reflect() - Constructor for class org.ubercraft.sucre.reflect.Reflect
Create a new instance, defaulting to the built-in method reflection factory.
Reflect(Class<? extends ReflectorFactory>) - Constructor for class org.ubercraft.sucre.reflect.Reflect
Create a new instance with the given default reflector factory type.
ReflectException - Exception in org.ubercraft.sucre.reflect
Indicates an error occurred during a reflection operation.
ReflectException() - Constructor for exception org.ubercraft.sucre.reflect.ReflectException
 
ReflectException(String) - Constructor for exception org.ubercraft.sucre.reflect.ReflectException
 
ReflectException(Throwable) - Constructor for exception org.ubercraft.sucre.reflect.ReflectException
 
ReflectException(String, Throwable) - Constructor for exception org.ubercraft.sucre.reflect.ReflectException
 
ReflectionUtil - Class in org.ubercraft.sucre.common
 
ReflectionUtil() - Constructor for class org.ubercraft.sucre.common.ReflectionUtil
 
Reflector - Interface in org.ubercraft.sucre.reflect
This interface represents a set of accessors and mutators for a class.
ReflectorFactory - Interface in org.ubercraft.sucre.reflect
Implement this interface to provide a way to create a Reflector instance for a class.
remove(Object) - Method in class org.ubercraft.sucre.attributes.Attributes
 
rightEquals(Object, Object) - Static method in class org.ubercraft.sucre.common.ObjectUtil
 

S

set(Object, Object) - Method in class org.ubercraft.sucre.attributes.Attributes
 
setReflectorFactoryClass(Class<?>, Class<? extends ReflectorFactory>) - Method in class org.ubercraft.sucre.reflect.Reflect
Set reflector factory class for a type (pass null factory class to unset).

T

toString() - Method in class org.ubercraft.sucre.attributes.Attributes
 

U

unCache(Class<?>) - Method in class org.ubercraft.sucre.reflect.Reflect
Removes any cached reflector for the given type.
unwrap(Boolean, boolean) - Static method in class org.ubercraft.sucre.common.ObjectUtil
 
unwrap(Integer, int) - Static method in class org.ubercraft.sucre.common.ObjectUtil
 
unwrap(Long, long) - Static method in class org.ubercraft.sucre.common.ObjectUtil
 
unwrap(Double, double) - Static method in class org.ubercraft.sucre.common.ObjectUtil
 
unwrap(Float, float) - Static method in class org.ubercraft.sucre.common.ObjectUtil
 
unwrap(Byte, byte) - Static method in class org.ubercraft.sucre.common.ObjectUtil
 
unwrap(Short, byte) - Static method in class org.ubercraft.sucre.common.ObjectUtil
 
unwrap(Character, char) - Static method in class org.ubercraft.sucre.common.ObjectUtil
 

A B C D E F G H I K L M N O P R S T U

Copyright © 2013. All Rights Reserved.