Codota Logo
org.granite.messaging.reflect
Code IndexAdd Codota to your IDE (free)

How to use org.granite.messaging.reflect

Best Java code snippets using org.granite.messaging.reflect (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Dictionary d =
  • Codota Iconnew Hashtable()
  • Codota IconBundle bundle;bundle.getHeaders()
  • Codota Iconnew Properties()
  • Smart code suggestions by Codota
}
origin: org.graniteds/granite-server

@SuppressWarnings("unchecked")
public <T> T newInstance(String className)
  throws ClassNotFoundException, InstantiationException, IllegalAccessException, IllegalArgumentException,
  InvocationTargetException, SecurityException {
  
  return newInstance((Class<T>)loadClass(className));
}
 
origin: org.graniteds/granite-client-javafx

  @Override
  public Field getField() {
    return ((FieldProperty)property).getField();
  }
}
origin: org.graniteds/granite-client-javafx

  @Override
  public Method getSetter() {
    return ((MethodProperty)property).getSetter();
  }
}
origin: org.graniteds/granite-client

public Property findSerializableProperty(Class<?> cls, String name) throws SecurityException {
  List<Property> properties = findSerializableProperties(cls);
  for (Property property : properties) {
    if (name.equals(property.getName()))
      return property;
  }
  return null;
}
 
origin: org.graniteds/granite-server

public List<Property> findSerializableProperties(Class<?> cls) throws SecurityException {
  ClassDescriptor descriptor = getDescriptor(cls);
  if (descriptor == null)
    return Collections.emptyList();
  return descriptor.getInheritedSerializableProperties();
}
 
origin: org.graniteds/granite-client

protected Property getDetachedStateProperty(Class<?> entityClass, boolean throwIfNotFound) {
  checkEntity(entityClass);
  
  Property property = reflection.findProperty(entityClass, DETACHED_STATE_FIELD_NAME, String.class);
  if (property == null && throwIfNotFound)
    throw new PropertyNotFoundException("No String " + DETACHED_STATE_FIELD_NAME + " property in " + entityClass);
  return property;
}
 
origin: org.graniteds/granite-client-java

public ClassDescriptor getDescriptor(Class<?> cls) {
  if (cls == null || cls == Object.class || !isRegularClass(cls))
    return null;
  ClassDescriptor descriptor = descriptorCache.get(cls);
  if (descriptor == null) {
    descriptor = new ClassDescriptor(this, cls);
    ClassDescriptor previousDescriptor = descriptorCache.putIfAbsent(cls, descriptor);
    if (previousDescriptor != null)
      descriptor = previousDescriptor;
  }
  return descriptor;
}
 
origin: org.graniteds/granite-client-javafx

@Override
public String getName() {
  return property.getName();
}
origin: org.graniteds/granite-client-javafx

public JavaFXFieldProperty(Field field) {
  super(new SimpleFieldProperty(field));
}
origin: org.graniteds/granite-server

protected MethodProperty newMethodProperty(Method getter, Method setter, String name) {
  return new SimpleMethodProperty(getter, setter, name);
}
 
origin: org.graniteds/granite-client-javafx

public Platform(ClassLoader reflectionClassLoader) {
  this(new Reflection(reflectionClassLoader));
}
 
origin: org.graniteds/granite-client-javafx

@Override
public boolean isReadable() {
  return property.isReadable();
}
origin: org.graniteds/granite-client-javafx

@SuppressWarnings("unchecked")
public <T> T newInstance(String className)
  throws ClassNotFoundException, InstantiationException, IllegalAccessException, IllegalArgumentException,
  InvocationTargetException, SecurityException {
  
  return newInstance((Class<T>)loadClass(className));
}
 
origin: org.graniteds/granite-client-javafx

public List<Property> findSerializableProperties(Class<?> cls) throws SecurityException {
  ClassDescriptor descriptor = getDescriptor(cls);
  if (descriptor == null)
    return Collections.emptyList();
  return descriptor.getInheritedSerializableProperties();
}
 
origin: org.graniteds/granite-client-java

protected Property getDetachedStateProperty(Class<?> entityClass, boolean throwIfNotFound) {
  checkEntity(entityClass);
  
  Property property = reflection.findProperty(entityClass, DETACHED_STATE_FIELD_NAME, String.class);
  if (property == null && throwIfNotFound)
    throw new PropertyNotFoundException("No String " + DETACHED_STATE_FIELD_NAME + " property in " + entityClass);
  return property;
}
 
origin: org.graniteds/granite-client-javafx

protected FieldProperty newFieldProperty(Field field) {
  return new SimpleFieldProperty(field);
}
 
origin: org.graniteds/granite-client-java

@SuppressWarnings("unchecked")
public <T> T newInstance(String className)
  throws ClassNotFoundException, InstantiationException, IllegalAccessException, IllegalArgumentException,
  InvocationTargetException, SecurityException {
  
  return newInstance((Class<T>)loadClass(className));
}
 
origin: org.graniteds/granite-client-java

public List<Property> findSerializableProperties(Class<?> cls) throws SecurityException {
  ClassDescriptor descriptor = getDescriptor(cls);
  if (descriptor == null)
    return Collections.emptyList();
  return descriptor.getInheritedSerializableProperties();
}
 
origin: org.graniteds/granite-client

protected Property getInitializedProperty(Class<?> entityClass, boolean throwIfNotFound) {
  checkEntity(entityClass);
  
  Property property = reflection.findProperty(entityClass, INITIALIZED_FIELD_NAME, Boolean.TYPE);
  if (property == null && throwIfNotFound)
    throw new PropertyNotFoundException("No boolean " + INITIALIZED_FIELD_NAME + " property in " + entityClass);
  return property;
}
 
origin: org.graniteds/granite-client

@SuppressWarnings("unchecked")
public <T> T newInstance(String className)
  throws ClassNotFoundException, InstantiationException, IllegalAccessException, IllegalArgumentException,
  InvocationTargetException, SecurityException, NoSuchMethodException {
  
  return newInstance((Class<T>)loadClass(className));
}
 
org.granite.messaging.reflect

Most used classes

  • Property
  • Reflection
    Reflection provider
  • BypassConstructorAllocator
  • FieldProperty
  • MethodProperty
  • Reflection$AnnotatedPropertyKey,
  • Reflection$NameTypePropertyKey,
  • ReflectionException,
  • SimpleFieldProperty,
  • SimpleMethodProperty,
  • SunBypassConstructorAllocator,
  • ClassDescriptor,
  • ConstructorInstantiator,
  • Instantiator,
  • PropertyAccessException,
  • PropertyNotFoundException
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now