Class ReflectionMetadata<T>

java.lang.Object
org.summerboot.jexpress.util.ReflectionMetadata<T>
Type Parameters:
T -

public class ReflectionMetadata<T> extends Object
Author:
Changski Tie Zheng Zhang 张铁铮, 魏泽北, 杜旺财, 杜富贵
  • Field Details

    • targetClass

      protected final Class targetClass
    • fieldName

      protected final String fieldName
    • field

      protected Field field
    • value

      protected T value
  • Constructor Details

    • ReflectionMetadata

      public ReflectionMetadata(Class targetClass, String fieldName)
  • Method Details

    • value

      public T value()
    • buildClassCastExceptionDesc

      public String buildClassCastExceptionDesc(String expectedType)
    • getFieldDefinationDefault

      protected String getFieldDefinationDefault()
    • getFieldDefinationExpected

      protected String getFieldDefinationExpected(Boolean shouldBeStatic, String expectedType)