Top Description Inners Fields Constructors Methods
org.jruby.javasupport.util

public Class JavaClassConfiguration

extends Object
implements Cloneable
Class Inheritance
All Implemented Interfaces
java.lang.Cloneable
Imports
java.util.ArrayList, .Arrays, .Collections, .HashMap, .HashSet, .List, .Map, .Set

Configuration for Reified classes, both normal, and java concrete extension

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public boolean
public boolean
public boolean
public boolean
public Map<Class<?>, Map<String, Object>>
private static final Set<String>
private Set<String>
public List<Class<?>[]>
public Map<String, Map<Class<?>, Map<String, Object>>>
public Map<String, Class<?>>
private Set<String>
public boolean
public boolean
public String
public Map<String, Map<Class<?>, Map<String, Object>>>
public Map<String, List<Class<?>[]>>
public Map<String, List<Map<Class<?>, Map<String, Object>>>>
public Map<String, String>
public List<JavaClassConfiguration.DirectFieldConfiguration>
public boolean

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public JavaClassConfiguration
clone()

Overrides java.lang.Object.clone.

Creates and returns a copy of this object.

public synchronized void
public synchronized Set<String>
public synchronized Set<String>
public synchronized void
Inherited from java.lang.Object:
equalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

allClassMethodsback to summary
public boolean allClassMethods
allCtorsback to summary
public boolean allCtors
allMethodsback to summary
public boolean allMethods
callInitializeback to summary
public boolean callInitialize
classAnnotationsback to summary
public Map<Class<?>, Map<String, Object>> classAnnotations
DEFAULT_EXCLUDESback to summary
private static final Set<String> DEFAULT_EXCLUDES
excludedback to summary
private Set<String> excluded
extraCtorsback to summary
public List<Class<?>[]> extraCtors
fieldAnnotationsback to summary
public Map<String, Map<Class<?>, Map<String, Object>>> fieldAnnotations
fieldSignaturesback to summary
public Map<String, Class<?>> fieldSignatures
includedback to summary
private Set<String> included
IroCtorsback to summary
public boolean IroCtors
javaConstructableback to summary
public boolean javaConstructable
javaCtorMethodNameback to summary
public String javaCtorMethodName
methodAnnotationsback to summary
public Map<String, Map<Class<?>, Map<String, Object>>> methodAnnotations
methodSignaturesback to summary
public Map<String, List<Class<?>[]>> methodSignatures
parameterAnnotationsback to summary
public Map<String, List<Map<Class<?>, Map<String, Object>>>> parameterAnnotations
renamedMethodsback to summary
public Map<String, String> renamedMethods
requestedStorageVariablesback to summary
public List<JavaClassConfiguration.DirectFieldConfiguration> requestedStorageVariables
rubyConstructableback to summary
public boolean rubyConstructable

Constructor Detail

JavaClassConfigurationback to summary
public JavaClassConfiguration()

Method Detail

cloneback to summary
public JavaClassConfiguration clone()

Overrides java.lang.Object.clone.

Doc from java.lang.Object.clone.

Creates and returns a copy of this object. The precise meaning of "copy" may depend on the class of the object. The general intent is that, for any object x, the expression:

x.clone() != x
will be true, and that the expression:
x.clone().getClass() == x.getClass()
will be true, but these are not absolute requirements. While it is typically the case that:
x.clone().equals(x)
will be true, this is not an absolute requirement.

By convention, the returned object should be obtained by calling super.clone. If a class and all of its superclasses (except Object) obey this convention, it will be the case that x.clone().getClass() == x.getClass().

By convention, the object returned by this method should be independent of this object (which is being cloned). To achieve this independence, it may be necessary to modify one or more fields of the object returned by super.clone before returning it. Typically, this means copying any mutable objects that comprise the internal "deep structure" of the object being cloned and replacing the references to these objects with references to the copies. If a class contains only primitive fields or references to immutable objects, then it is usually the case that no fields in the object returned by super.clone need to be modified.

Returns:JavaClassConfiguration

a clone of this instance.

excludeback to summary
public synchronized void exclude(String name)
getExcludedback to summary
public synchronized Set<String> getExcluded()
getIncludedback to summary
public synchronized Set<String> getIncluded()
includeback to summary
public synchronized void include(String name)
org.jruby.javasupport.util back to summary

public Class JavaClassConfiguration.DirectFieldConfiguration

extends Object
Class Inheritance
  • java.lang.Object
  • org.jruby.javasupport.util.JavaClassConfiguration.DirectFieldConfiguration

Field Summary

Modifier and TypeField and Description
public Class<?>
public String
public Boolean
public Class<?>

Constructor Summary

AccessConstructor and Description
public
DirectFieldConfiguration(String name, Class<?> fieldType, Boolean unwrap, Class<?> unwrapType)

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

fieldTypeback to summary
public Class<?> fieldType
nameback to summary
public String name
unwrapback to summary
public Boolean unwrap
unwrapTypeback to summary
public Class<?> unwrapType

Constructor Detail

DirectFieldConfigurationback to summary
public DirectFieldConfiguration(String name, Class<?> fieldType, Boolean unwrap, Class<?> unwrapType)