List of usage examples for javafx.beans.property ReadOnlyProperty getClass
@HotSpotIntrinsicCandidate public final native Class<?> getClass();
From source file:Book.java
public static void printDetails(ReadOnlyProperty<?> p) { String name = p.getName();//from w w w. ja va 2 s .c o m Object value = p.getValue(); Object bean = p.getBean(); String beanClassName = (bean == null) ? "null" : bean.getClass().getSimpleName(); String propClassName = p.getClass().getSimpleName(); System.out.print(propClassName); System.out.print("[Name:" + name); System.out.print(", Bean Class:" + beanClassName); System.out.println(", Value:" + value + "]"); }