net.sourceforge.pmd.lang.vm.directive
Class Foreach
java.lang.Object
net.sourceforge.pmd.lang.vm.directive.Directive
net.sourceforge.pmd.lang.vm.directive.Foreach
- All Implemented Interfaces:
- Cloneable
public class Foreach
- extends Directive
Foreach directive used for moving through arrays,
or objects that provide an Iterator.
- Version:
- $Id: Foreach.java 945927 2010-05-18 22:21:41Z nbubna $
- Author:
- Jason van Zyl, Geir Magnusson Jr., Daniel Rall
Method Summary |
String |
getName()
Return name of this directive. |
int |
getType()
Return type of this directive. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Foreach
public Foreach()
getName
public String getName()
- Return name of this directive.
- Specified by:
getName
in class Directive
- Returns:
- The name of this directive.
getType
public int getType()
- Return type of this directive.
- Specified by:
getType
in class Directive
- Returns:
- The type of this directive.
Copyright © 2002–2015 InfoEther. All rights reserved.