public interface FieldDescriptor extends FieldTrait, FieldAnnotationTrait
| Modifier and Type | Method and Description |
|---|---|
String |
getDeclaredName()
Get the explicitly defined field name.
|
getFake, getFixture, getProperty, getReal, getVirtual, isInjectable, isMockdestroy, getAnnotatedElement, getValue, init, setValuefindMethod, findMethod, getClassLoader, getGenericType, getType, getTypeName, invoke, isSubtypeOf, isSupertypeOfgetDeclaringClass, getDeclaringClassLoader, getDeclaringClassName, getMember, getNamegetAnnotation, getAnnotations, getMetaAnnotations, hasAnyAnnotations, hasAnyAnnotationsString getDeclaredName()
Get the explicitly defined field name. Please note that field names are explicitly
defined by annotating the field with Name.
In the event a field name is not explicitly defined the value returned by calling
Field.getName() will be returned. Please note that name
detection only works if your code is compiled with parameter names or debug information
(javac -parameters or javac -g:vars).
Copyright © 2016–2018 Testify Project. All rights reserved.