/** * Gets the 'simple' name of the class, given the fully qualified name. * <p> * Named after <code>Class.getSimpleName</code>. */ public static String getSimpleName( String qualifiedClassName ) { return StringUtils.substringAfterLast( qualifiedClassName, StringUtils.SEPARATOR_DOT_CHAR ); }
@Override public int hashCode() { int hashCode = 1; hashCode = 31 * hashCode + ObjectUtils.nullSafeHashCode( mPropertyStyle ); hashCode = 31 * hashCode + ObjectUtils.nullSafeHashCode( mNullPropertyStyle ); return hashCode; }
/** * Converts the given string from camel case. * <p> * For example, converts <code>fooBar1</code> into <code>Foo Bar 1</code>. Used primarily to * convert property names and paths into human-readable UI labels. */ public static String uncamelCase( String camelCase ) { return uncamelCase( camelCase, ' ' ); }
private Element inspect() { if ( mPath == null ) { return null; } TypeAndNames typeAndNames = PathUtils.parsePath( mPath ); return mPipeline.inspectAsDom( mToInspect, typeAndNames.getType(), typeAndNames.getNamesAsArray() ); }
public String getNames() { if ( mParsedNames == null ) { getType(); } return mParsedNames; }
protected boolean willFillHorizontally( JComponent component, Map<String, String> attributes ) { if ( component instanceof JScrollPane ) { return true; } if ( component instanceof SwingMetawidget ) { return true; } return SimpleLayoutUtils.isSpanAllColumns( attributes ); }
@Override public int hashCode() { int hashCode = 1; hashCode = 31 * hashCode + ObjectUtils.nullSafeHashCode( mDataTableStyleClass ); hashCode = 31 * hashCode + ObjectUtils.nullSafeHashCode( mDataTableColumnClasses ); hashCode = 31 * hashCode + ObjectUtils.nullSafeHashCode( mDataTableRowClasses ); hashCode = 31 * hashCode + mMaximumColumnsInDataTable; return hashCode; }
protected boolean willFillHorizontally( Control control, Map<String, String> attributes ) { if ( control instanceof SwtMetawidget ) { return true; } return SimpleLayoutUtils.isSpanAllColumns( attributes ); }
@Override public int hashCode() { int hashCode = 1; hashCode = 31 * hashCode + ObjectUtils.nullSafeHashCode( mInjectThis ); hashCode = 31 * hashCode + ObjectUtils.nullSafeHashCode( mNullInjectThis ); hashCode = 31 * hashCode + ObjectUtils.nullSafeHashCode( mInject ); return hashCode; }
@Override public int hashCode() { int hashCode = 1; hashCode = 31 * hashCode + mNumberOfColumns; hashCode = 31 * hashCode + mLabelAlignment; hashCode = 31 * hashCode + ObjectUtils.nullSafeHashCode( mLabelFont ); hashCode = 31 * hashCode + ObjectUtils.nullSafeHashCode( mLabelForeground ); hashCode = 31 * hashCode + ObjectUtils.nullSafeHashCode( mLabelSuffix ); hashCode = 31 * hashCode + mRequiredAlignment; hashCode = 31 * hashCode + ObjectUtils.nullSafeHashCode( mRequiredText ); return hashCode; }
@Override public int hashCode() { int hashCode = 1; hashCode = 31 * hashCode + ObjectUtils.nullSafeHashCode( mInjectThis ); hashCode = 31 * hashCode + ObjectUtils.nullSafeHashCode( mIgnoreAttributes ); return hashCode; }
@Override public int hashCode() { int hashCode = 1; hashCode = 31 * hashCode + ObjectUtils.nullSafeHashCode( mTypeMappings ); hashCode = 31 * hashCode + ObjectUtils.nullSafeHashCode( mRemoveUnmappedTypes ); return hashCode; }
@Override public int hashCode() { int hashCode = 1; hashCode = 31 * hashCode + ObjectUtils.nullSafeHashCode( mInputStream ); return hashCode; }
@Override public int hashCode() { int hashCode = 1; hashCode = 31 * hashCode + ObjectUtils.nullSafeHashCode( mInjectThis ); hashCode = 31 * hashCode + ObjectUtils.nullSafeHashCode( mIgnoreAttributes ); return hashCode; }
@Override public int hashCode() { int hashCode = 1; hashCode = 31 * hashCode + ObjectUtils.nullSafeHashCode( mRemoveAttributes ); return hashCode; }
@Override public int hashCode() { int hashCode = 1; hashCode = 31 * hashCode + mNumberOfColumns; hashCode = 31 * hashCode + ObjectUtils.nullSafeHashCode( mSupportMnemonics ); hashCode = 31 * hashCode + ObjectUtils.nullSafeHashCode( mDebugMode ); return hashCode; }
@Override public int hashCode() { int hashCode = 1; hashCode = 31 * hashCode + ObjectUtils.nullSafeHashCode( mResourceResolver ); hashCode = 31 * hashCode + ObjectUtils.nullSafeHashCode( mComponentsInputStream ); return hashCode; }
@Override public int hashCode() { int hashCode = 1; hashCode = 31 * hashCode + ObjectUtils.nullSafeHashCode( mDefaultFile ); hashCode = 31 * hashCode + ObjectUtils.nullSafeHashCode( mResourceResolver ); hashCode = 31 * hashCode + ObjectUtils.nullSafeHashCode( mInputStreams ); hashCode = 31 * hashCode + ObjectUtils.nullSafeHashCode( mDocuments ); hashCode = 31 * hashCode + ObjectUtils.nullSafeHashCode( mRestrictAgainstObject ); hashCode = 31 * hashCode + ObjectUtils.nullSafeHashCode( mInferInheritanceHierarchy ); hashCode = 31 * hashCode + ObjectUtils.nullSafeHashCode( mValidateAgainstClasses ); return hashCode; }
@Override public int hashCode() { int hashCode = 1; hashCode = 31 * hashCode + ObjectUtils.nullSafeHashCode( mPartialSubmit ); return hashCode; }
@Override public int hashCode() { int hashCode = 1; hashCode = 31 * hashCode + ObjectUtils.nullSafeHashCode( mUpdateStrategy ); hashCode = 31 * hashCode + ObjectUtils.nullSafeHashCode( mConverters ); return hashCode; }