java.lang.Object
ch.nolix.core.structurecontrol.reflectiontool.ObjectTool

public final class ObjectTool extends Object
  • Konstruktordetails

    • ObjectTool

      public ObjectTool()
  • Methodendetails

    • getFirstFieldOfObjectThatStoresValue

      public Field getFirstFieldOfObjectThatStoresValue(Object object, Object value)
    • getNameOfFirstFieldOfObjectThatStoresValue

      public String getNameOfFirstFieldOfObjectThatStoresValue(Object object, Object value)
    • getValueOfFieldOfObject

      public Object getValueOfFieldOfObject(Object object, Field field)
    • hasAnnotation

      public <A extends Annotation> boolean hasAnnotation(AnnotatedElement object, Class<A> annotationType)
      Typparameter:
      A - is the given annotationType.
      Parameter:
      object -
      annotationType -
      Gibt zurück:
      true if the given object has an annotation of the given annotationType.