Tabnine Logo
Contract
Code IndexAdd Tabnine to your IDE (free)

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

Best Java code snippets using uk.org.retep.annotations.Contract (Showing top 20 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/annotations

contract.value();
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 @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( ReadLock.class )
protected final java.util.concurrent.locks.Lock readLock()
{
  return DelayedWeakHashMap.this.readLock();
}
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/annotations

/**
 * Method used by the @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 @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

Most used methods

  • <init>
  • value

Popular in Java

  • Reading from database using SQL prepared statement
  • runOnUiThread (Activity)
  • scheduleAtFixedRate (Timer)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Top plugins for Android Studio
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