/**
* Returns a bean descriptor for specified class.
*
* @param type the class to introspect
* @return a bean descriptor
*/
public static BeanDescriptor getBeanDescriptor(Class type) {
try {
return Introspector.getBeanInfo(type).getBeanDescriptor();
} catch (IntrospectionException exception) {
throw new Error("unexpected exception", exception);
}
}
java类java.beans.BeanDescriptor的实例源码
BeanUtils.java 文件源码
项目:openjdk9
阅读 25
收藏 0
点赞 0
评论 0
BeanUtils.java 文件源码
项目:jdk8u_jdk
阅读 28
收藏 0
点赞 0
评论 0
/**
* Returns a bean descriptor for specified class.
*
* @param type the class to introspect
* @return a bean descriptor
*/
public static BeanDescriptor getBeanDescriptor(Class type) {
try {
return Introspector.getBeanInfo(type).getBeanDescriptor();
} catch (IntrospectionException exception) {
throw new Error("unexpected exception", exception);
}
}
BeanUtils.java 文件源码
项目:lookaside_java-1.8.0-openjdk
阅读 22
收藏 0
点赞 0
评论 0
/**
* Returns a bean descriptor for specified class.
*
* @param type the class to introspect
* @return a bean descriptor
*/
public static BeanDescriptor getBeanDescriptor(Class type) {
try {
return Introspector.getBeanInfo(type).getBeanDescriptor();
} catch (IntrospectionException exception) {
throw new Error("unexpected exception", exception);
}
}
WekaClassifierEvaluationHadoopJobBeanInfo.java 文件源码
项目:repo.kmeanspp.silhouette_score
阅读 18
收藏 0
点赞 0
评论 0
/**
* Get the bean descriptor for this bean
*
* @return a <code>BeanDescriptor</code> value
*/
@Override
public BeanDescriptor getBeanDescriptor() {
return new BeanDescriptor(
weka.gui.beans.WekaClassifierEvaluationHadoopJob.class,
HadoopJobCustomizer.class);
}
ClassifierPerformanceEvaluatorBeanInfo.java 文件源码
项目:repo.kmeanspp.silhouette_score
阅读 15
收藏 0
点赞 0
评论 0
/**
* Get the bean descriptor for this bean
*
* @return a <code>BeanDescriptor</code> value
*/
@Override
public BeanDescriptor getBeanDescriptor() {
return new BeanDescriptor(
weka.gui.beans.ClassifierPerformanceEvaluator.class,
ClassifierPerformanceEvaluatorCustomizer.class);
}
AddUserFieldsBeanInfo.java 文件源码
项目:repo.kmeanspp.silhouette_score
阅读 15
收藏 0
点赞 0
评论 0
/**
* Get the bean descriptor for this bean
*
* @return a <code>BeanDescriptor</code> value
*/
@Override
public BeanDescriptor getBeanDescriptor() {
return new BeanDescriptor(
weka.filters.unsupervised.attribute.AddUserFields.class,
weka.gui.filters.AddUserFieldsCustomizer.class);
}
DerbyOptionsBeanInfo.java 文件源码
项目:incubator-netbeans
阅读 15
收藏 0
点赞 0
评论 0
public BeanDescriptor getBeanDescriptor() {
BeanDescriptor descriptor = new BeanDescriptor(DerbyOptions.class);
descriptor.setName(NbBundle.getMessage(DerbyOptionsBeanInfo.class, "LBL_DerbyOptions"));
return descriptor;
}
OverlayLayoutBeanInfo.java 文件源码
项目:incubator-netbeans
阅读 14
收藏 0
点赞 0
评论 0
@Override
public BeanDescriptor getBeanDescriptor() {
return new BeanDescriptor(javax.swing.OverlayLayout.class);
}
ComponentBreakpointBeanInfo.java 文件源码
项目:incubator-netbeans
阅读 15
收藏 0
点赞 0
评论 0
@Override
public BeanDescriptor getBeanDescriptor() {
return new BeanDescriptor(
ComponentBreakpoint.class,
ComponentBreakpointCustomizer.class);
}
ExtendedBeanInfo.java 文件源码
项目:lams
阅读 19
收藏 0
点赞 0
评论 0
@Override
public BeanDescriptor getBeanDescriptor() {
return this.delegate.getBeanDescriptor();
}