net.sourceforge.pmd.lang.java.symboltable
Class TypeSet.PrimitiveTypeResolver

java.lang.Object
  extended by net.sourceforge.pmd.lang.java.symboltable.TypeSet.PrimitiveTypeResolver
All Implemented Interfaces:
TypeSet.Resolver
Enclosing class:
TypeSet

public static class TypeSet.PrimitiveTypeResolver
extends Object
implements TypeSet.Resolver

Resolver that resolves primitive types such as int or double.


Constructor Summary
TypeSet.PrimitiveTypeResolver()
          Creates a new TypeSet.PrimitiveTypeResolver.
 
Method Summary
 Class<?> resolve(String name)
          Resolve the class by the given name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeSet.PrimitiveTypeResolver

public TypeSet.PrimitiveTypeResolver()
Creates a new TypeSet.PrimitiveTypeResolver.

Method Detail

resolve

public Class<?> resolve(String name)
                 throws ClassNotFoundException
Description copied from interface: TypeSet.Resolver
Resolve the class by the given name

Specified by:
resolve in interface TypeSet.Resolver
Parameters:
name - the name of the class, might be fully classified or not.
Returns:
the class
Throws:
ClassNotFoundException - if the class couldn't be found


Copyright © 2002-2015 InfoEther. All Rights Reserved.