| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.gwt.inject.rebind.binding.Context
public class Context
Describes the context in which a binding or dependency was created.
| Constructor Summary | |
|---|---|
| protected  | Context(java.lang.String contextFormat,
        java.lang.Object... contextArgs) | 
| Method Summary | |
|---|---|
| static Context | forElement(Element element)Create a Contextstoring the context of the given GuiceElement. | 
| static Context | format(java.lang.String contextFmt,
       java.lang.Object... args)Create a Contextfrom formatted text. | 
| static Context | forText(java.lang.String text)Create a Contextfrom a text string. | 
|  java.lang.String | toString() | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
protected Context(java.lang.String contextFormat,
                  java.lang.Object... contextArgs)
| Method Detail | 
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic static Context forElement(Element element)
Context storing the context of the given Guice
 Element.
public static Context forText(java.lang.String text)
Context from a text string.
public static Context format(java.lang.String contextFmt,
                             java.lang.Object... args)
Context from formatted text.  The text will not be
 formatted until toString() is invoked.
contextFmt - format string, as with PrettyPrinter.format(String, Object...)args - arguments for the format string, as with
     PrettyPrinter.format(String, Object...)| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||