Searched defs:targetType (Results 1 - 18 of 18) sorted by relevance

/openjdk7/jdk/src/share/classes/java/beans/
H A DPropertyEditorManager.java66 * @param targetType the class object of the type to be edited
74 public static void registerEditor(Class<?> targetType, Class<?> editorClass) { argument
79 ThreadGroupContext.getContext().getPropertyEditorFinder().register(targetType, editorClass);
85 * @param targetType The Class object for the type to be edited
89 public static PropertyEditor findEditor(Class<?> targetType) { argument
90 return ThreadGroupContext.getContext().getPropertyEditorFinder().find(targetType);
H A DBeans.java361 * @param targetType The type of view we'd like to get.
364 public static Object getInstanceOf(Object bean, Class<?> targetType) { argument
372 * represents the specified targetType type view.
375 * @param targetType The type of view we'd like to get.
376 * @return "true" if the given bean supports the given targetType.
379 public static boolean isInstanceOf(Object bean, Class<?> targetType) { argument
380 return Introspector.isSubclass(bean.getClass(), targetType);
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/xs/
H A DXSAnnotation.java51 * @param targetType A target type.
56 short targetType);
55 writeAnnotation(Object target, short targetType) argument
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/types/basic/
H A DBasicPointerType.java35 private Type targetType; field in class:BasicPointerType
37 public BasicPointerType(BasicTypeDataBase db, String name, Type targetType) { argument
40 this.targetType = targetType;
48 return targetType;
/openjdk7/jdk/src/share/classes/java/lang/invoke/
H A DConstantCallSite.java72 * @param targetType the type of the method handle to be permanently associated with this call site
75 * or if the target returned by the hook is not of the given {@code targetType}
80 protected ConstantCallSite(MethodType targetType, MethodHandle createTargetHook) throws Throwable { argument
81 super(targetType, createTargetHook);
H A DCallSite.java121 * @param targetType the desired type of the call site
124 * or if the target returned by the hook is not of the given {@code targetType}
130 CallSite(MethodType targetType, MethodHandle createTargetHook) throws Throwable { argument
131 this(targetType);
H A DInvokers.java41 private final MethodType targetType; field in class:Invokers
69 /*non-public*/ Invokers(MethodType targetType) { argument
70 this.targetType = targetType;
71 this.spreadInvokers = new MethodHandle[targetType.parameterCount()+1];
77 MethodType mtype = targetType;
98 MethodType mtype = targetType;
119 MethodHandle invoker = DirectMethodHandle.make(invokeBasicMethod(targetType));
120 assert(targetType == targetType
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/unmarshaller/
H A DDefaultIDResolver.java59 public Callable resolve(final String id, Class targetType) { argument
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xs/
H A DXSAnnotationImpl.java71 * @param targetType A target type.
76 short targetType) {
77 if(targetType == XSAnnotation.W3C_DOM_ELEMENT || targetType == XSAnnotation.W3C_DOM_DOCUMENT) {
78 writeToDOM((Node)target, targetType);
80 } else if (targetType == SAX_CONTENTHANDLER) {
75 writeAnnotation(Object target, short targetType) argument
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/cdbg/basic/
H A DBasicPointerType.java31 private Type targetType; field in class:BasicPointerType
33 public BasicPointerType(int size, Type targetType) { argument
34 this(null, size, targetType, 0);
37 private BasicPointerType(String name, int size, Type targetType, int cvAttributes) { argument
39 this.targetType = targetType;
40 if (!((BasicType) targetType).isLazy()) {
47 public Type getTargetType() { return targetType; }
51 targetType = db.resolveType(this, targetType, listene
[all...]
H A DBasicRefType.java31 private Type targetType; field in class:BasicRefType
33 public BasicRefType(String name, int size, Type targetType) { argument
34 this(name, size, targetType, 0);
37 private BasicRefType(String name, int size, Type targetType, int cvAttributes) { argument
39 this.targetType = targetType;
40 if (!((BasicType) targetType).isLazy()) {
47 public Type getTargetType() { return targetType; }
51 targetType = db.resolveType(this, targetType, listene
[all...]
H A DBasicCDebugInfoDataBase.java255 public Type resolveType(Type containingType, Type targetType, ResolveListener listener, String detail) { argument
256 BasicType basicTargetType = (BasicType) targetType;
261 BasicType resolved = (BasicType) lazyTypeMap.get(((LazyType) targetType).getKey());
266 listener.resolveFailed(containingType, (LazyType) targetType, detail + " because target type was not found");
267 return targetType;
275 listener.resolveFailed(containingType, (LazyType) targetType,
285 return targetType;
289 public Type resolveType(Sym containingSymbol, Type targetType, ResolveListener listener, String detail) { argument
290 BasicType basicTargetType = (BasicType) targetType;
295 BasicType resolved = (BasicType) lazyTypeMap.get(((LazyType) targetType)
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/reflect/
H A DAdaptedAccessor.java45 /*pacakge*/ AdaptedAccessor(Class<OnWireValueT> targetType, Accessor<BeanT, InMemValueT> extThis, Class<? extends XmlAdapter<OnWireValueT, InMemValueT>> adapter) { argument
46 super(targetType);
H A DTransducedAccessor.java262 private final Class<TargetT> targetType; field in class:TransducedAccessor.IDREFTransducedAccessorImpl
266 this.targetType = acc.getValueType();
286 if(!targetType.isInstance(t))
287 context.handleError(Messages.UNASSIGNABLE_TYPE.format(targetType,t.getClass()));
H A DAccessor.java190 public final <T> Accessor<BeanT, T> adapt(Class<T> targetType, final Class<? extends XmlAdapter<T, ValueT>> adapter) { argument
191 return new AdaptedAccessor<BeanT, ValueT, T>(targetType, this, adapter);
/openjdk7/jaxws/src/share/jaxws_classes/javax/xml/bind/
H A DContextFinder.java104 * For example, (targetType)originalType
108 * @param targetType
112 private static JAXBException handleClassCastException(Class originalType, Class targetType) { argument
113 final URL targetTypeURL = which(targetType);
/openjdk7/corba/src/share/classes/com/sun/tools/corba/se/idl/constExpr/
H A DExpression.java97 protected static String defaultType (String targetType) argument
99 return (targetType == null) ? new String ("") : targetType;
/openjdk7/jdk/src/share/classes/com/sun/jmx/mbeanserver/
H A DDefaultMXBeanMappingFactory.java496 IdentityMapping(Type targetType, OpenType<?> openType) { argument
497 super(targetType, openType);
544 ArrayMapping(Type targetType, argument
547 super(targetType, openArrayType);
600 CollectionMapping(Type targetType, argument
604 super(targetType, openArrayType);
611 Type raw = ((ParameterizedType) targetType).getRawType();
732 TabularMapping(Type targetType, argument
737 super(targetType, tabularType);

Completed in 139 milliseconds