JavaDoq 1.0 API

com.javadoq
Class JavaNestedType

java.lang.Object
  extended by com.javadoq.JavaType
      extended by com.javadoq.JavaNestedType

public class JavaNestedType
extends JavaType

Represents an enclosed Java type, either a class, an interface or enum.

Author:
J.J.Liu (Jianjun Liu) at http://www.javadoq.com

Field Summary
 JavaType outer
          The enclosing type.
 
Fields inherited from class com.javadoq.JavaType
file, inners, name, qname, supers
 
Constructor Summary
JavaNestedType(JavaType outer, java.lang.String name)
          Constructs a JavaNestedType.
 
Method Summary
protected  JavaType findLocalType(JavaName name)
          Finds a Java type locally defined within this type or its super types.
 
Methods inherited from class com.javadoq.JavaType
equals, findNestedType, findType, hashCode, searchType, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

outer

public final JavaType outer

The enclosing type.

Since:
1.0
Constructor Detail

JavaNestedType

public JavaNestedType(JavaType outer,
                      java.lang.String name)

Constructs a JavaNestedType.

Parameters:
outer - The enclosing type.
name - The simple name for the type.
Since:
1.0
Method Detail

findLocalType

protected JavaType findLocalType(JavaName name)

Finds a Java type locally defined within this type or its super types.

Overrides:
findLocalType in class JavaType
Parameters:
name - The simple name for the type being found.
Returns:
The matched Java type or null if it is not found.
Since:
1.0

JavaDoq 1.0 API

Copyright © 2008-2011 J.J.Liu (www.javadoq.com). All Rights Reserved.