Tabnine Logo
Contract.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
uk.org.retep.annotations.Contract
constructor

Best Java code snippets using uk.org.retep.annotations.Contract.<init> (Showing top 19 results out of 315)

origin: uk.org.retep.tools/jaxb

@Contract( AbstractRetepPlugin.class )
public void setTemplate( final String template )
{
  this.template = template;
}
origin: uk.org.retep.tools/jaxb

@Contract( AbstractRetepPlugin.class )
public void setClassname( final String className )
{
  this.className = className;
}
origin: uk.org.retep.tools/concurrency

  /**
   * Method used by the &#64;Lock annotation
   * @return Lock implementing the lock
   */
  @Contract( Lock.class )
  protected final java.util.concurrent.locks.Lock lock()
  {
    return lock;
  }
}
origin: uk.org.retep.tools/collections

  @Contract( Serializable.class )
  private Object readResolve()
  {
    return EMPTY_COLLECTION;
  }
}
origin: uk.org.retep.tools/collections

@Contract( Lock.class )
protected final java.util.concurrent.locks.Lock lock()
{
  return lock;
}
origin: uk.org.retep.tools/jaxb

  @Contract( AbstractRetepPlugin.class )
  public void setExtendsclass( final String extendsClass )
  {
    this.extendsClass = extendsClass;
  }
}
origin: uk.org.retep.tools/collections

@Contract( WriteLock.class )
protected final java.util.concurrent.locks.Lock writeLock()
{
  return DelayedWeakHashMap.this.writeLock();
}
origin: uk.org.retep.tools/collections

@Contract( ReadLock.class )
protected final java.util.concurrent.locks.Lock readLock()
{
  return DelayedWeakHashMap.this.readLock();
}
origin: uk.org.retep.tools/annotations

/**
 * Method used by the &#64;WriteLock annotation
 * @return Lock implementing a write lock
 */
@Contract( WriteLock.class )
protected final Lock writeLock()
{
  return lock.writeLock();
}
origin: uk.org.retep.tools/collections

/**
 * Used for concurrency
 * @return
 */
@Contract( ReadLock.class )
protected final java.util.concurrent.locks.Lock readLock()
{
  return lock.readLock();
}
origin: uk.org.retep.tools/collections

/**
 * Used for concurrency
 * @return
 */
@Contract( WriteLock.class )
protected final java.util.concurrent.locks.Lock writeLock()
{
  return lock.writeLock();
}
origin: uk.org.retep.tools/jaxb

/**
 * 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 );
}
origin: uk.org.retep.tools/jaxb

/**
 * 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 );
}
origin: uk.org.retep.tools/annotations

  /**
   * Method used by the &#64;ReadLock annotation
   * @return Lock implementing a read lock
   */
  @Contract( ReadLock.class )
  protected final Lock readLock()
  {
    return lock.readLock();
  }
}
origin: uk.org.retep.tools/jaxb

/**
 * 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 );
}
origin: uk.org.retep.tools/jaxb

  @Contract( AbstractRetepPlugin.class )
  public void setBuilderimplements( String builderImplements )
      throws ClassNotFoundException
  {
    this.builderImplements = map( builderImplements );
  }
}
origin: uk.org.retep.tools/jaxb

/**
 * 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 );
}
origin: uk.org.retep.tools/jaxb

/**
 * 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 );
}
origin: uk.org.retep.tools/jaxb

/**
 * 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 );
}
uk.org.retep.annotationsContract<init>

Popular methods of Contract

  • value

Popular in Java

  • Parsing JSON documents to java classes using gson
  • startActivity (Activity)
  • getContentResolver (Context)
  • setContentView (Activity)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Table (org.hibernate.mapping)
    A relational table
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now