@Contract( AbstractRetepPlugin.class ) public void setTemplate( final String template ) { this.template = template; }
@Contract( AbstractRetepPlugin.class ) public void setClassname( final String className ) { this.className = className; }
/** * Method used by the @Lock annotation * @return Lock implementing the lock */ @Contract( Lock.class ) protected final java.util.concurrent.locks.Lock lock() { return lock; } }
@Contract( Serializable.class ) private Object readResolve() { return EMPTY_COLLECTION; } }
@Contract( Lock.class ) protected final java.util.concurrent.locks.Lock lock() { return lock; }
@Contract( AbstractRetepPlugin.class ) public void setExtendsclass( final String extendsClass ) { this.extendsClass = extendsClass; } }
@Contract( WriteLock.class ) protected final java.util.concurrent.locks.Lock writeLock() { return DelayedWeakHashMap.this.writeLock(); }
@Contract( ReadLock.class ) protected final java.util.concurrent.locks.Lock readLock() { return DelayedWeakHashMap.this.readLock(); }
/** * Method used by the @WriteLock annotation * @return Lock implementing a write lock */ @Contract( WriteLock.class ) protected final Lock writeLock() { return lock.writeLock(); }
/** * Used for concurrency * @return */ @Contract( ReadLock.class ) protected final java.util.concurrent.locks.Lock readLock() { return lock.readLock(); }
/** * Used for concurrency * @return */ @Contract( WriteLock.class ) protected final java.util.concurrent.locks.Lock writeLock() { return lock.writeLock(); }
/** * If true then getters are created along side the setters * * @param generateGetters */ @Contract( AbstractRetepPlugin.class ) public void setGenerategetters( String generateGetters ) { this.generateGetters = Boolean.parseBoolean( generateGetters ); }
/** * If true then build() will call build(o) which a superclass is expected * to implement to populate the bean. * * @param callsuper */ @Contract( AbstractRetepPlugin.class ) public void setCallsuper( String callsuper ) { this.callsuper = Boolean.parseBoolean( callsuper ); }
/** * Method used by the @ReadLock annotation * @return Lock implementing a read lock */ @Contract( ReadLock.class ) protected final Lock readLock() { return lock.readLock(); } }
/** * If set the return type of all add/set methods in the builder. Defaults * to the builder itself if not set * * @param builderClass */ @Contract( AbstractRetepPlugin.class ) public void setBuilderreturntype( String builderClass ) throws ClassNotFoundException { this.builderReturnType = map( builderClass ); }
@Contract( AbstractRetepPlugin.class ) public void setBuilderimplements( String builderImplements ) throws ClassNotFoundException { this.builderImplements = map( builderImplements ); } }
/** * The class the builder extends. If not set the builder will extend * AbstractLastBuilder<T> * * @param extendsClass */ @Contract( AbstractRetepPlugin.class ) public void setExtendsclass( String extendsClass ) throws ClassNotFoundException { this.extendsClass = map( extendsClass ); }
/** * The interface the builder implements, none if not set * * @param implementsClass */ @Contract( AbstractRetepPlugin.class ) public void setImplementsclass( String implementsClass ) throws ClassNotFoundException { this.implementsClass = map( implementsClass ); }
/** * If set the class/interface to use to represent the data object. The * default is to use the data object itself. This is used when the data * object implements a common interface and that interface is needed in any * add/set methods * * @param objectClass */ @Contract( AbstractRetepPlugin.class ) public void setObjectclass( String objectClass ) throws ClassNotFoundException { this.objectClass = map( objectClass ); }