Java Doc for MockRule.java in  » Code-Analyzer » pmd-4.2rc1 » net » sourceforge » pmd » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Code Analyzer » pmd 4.2rc1 » net.sourceforge.pmd 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   net.sourceforge.pmd.CommonAbstractRule
      net.sourceforge.pmd.AbstractJavaRule
         net.sourceforge.pmd.AbstractRule
            net.sourceforge.pmd.MockRule

MockRule
public class MockRule extends AbstractRule (Code)
This is a Rule implementation which can be used in scenarios where an actual functional Rule is not needed. For example, during unit testing, or as an editable surrogate used by IDE plugins.



Constructor Summary
public  MockRule()
    
public  MockRule(String name, String description, String message, String ruleSetName, int priority)
    
public  MockRule(String name, String description, String message, String ruleSetName)
    



Constructor Detail
MockRule
public MockRule()(Code)



MockRule
public MockRule(String name, String description, String message, String ruleSetName, int priority)(Code)



MockRule
public MockRule(String name, String description, String message, String ruleSetName)(Code)





Methods inherited from net.sourceforge.pmd.AbstractJavaRule
final protected void addViolation(Object data, SimpleNode node)(Code)(Java Doc)
final protected void addViolation(Object data, SimpleNode node, String embed)(Code)(Java Doc)
final protected void addViolation(Object data, Node node, Object[] args)(Code)(Java Doc)
final protected void addViolationWithMessage(Object data, SimpleNode node, String msg)(Code)(Java Doc)
public void apply(List acus, RuleContext ctx)(Code)(Java Doc)
final protected String getDeclaringType(SimpleNode node)(Code)(Java Doc)
public static boolean importsPackage(ASTCompilationUnit node, String packageName)(Code)(Java Doc)
public static boolean isQualifiedName(SimpleNode node)(Code)(Java Doc)
public Object visit(SimpleJavaNode node, Object data)(Code)(Java Doc)
public Object visit(ASTExtendsList node, Object data)(Code)(Java Doc)
public Object visit(ASTClassOrInterfaceDeclaration node, Object data)(Code)(Java Doc)
public Object visit(ASTImplementsList node, Object data)(Code)(Java Doc)
public Object visit(ASTTypeParameters node, Object data)(Code)(Java Doc)
public Object visit(ASTMemberSelector node, Object data)(Code)(Java Doc)
public Object visit(ASTTypeParameter node, Object data)(Code)(Java Doc)
public Object visit(ASTTypeBound node, Object data)(Code)(Java Doc)
public Object visit(ASTClassOrInterfaceBody node, Object data)(Code)(Java Doc)
public Object visit(ASTClassOrInterfaceBodyDeclaration node, Object data)(Code)(Java Doc)
public Object visit(ASTEnumBody node, Object data)(Code)(Java Doc)
public Object visit(ASTEnumConstant node, Object data)(Code)(Java Doc)
public Object visit(ASTReferenceType node, Object data)(Code)(Java Doc)
public Object visit(ASTClassOrInterfaceType node, Object data)(Code)(Java Doc)
public Object visit(ASTTypeArguments node, Object data)(Code)(Java Doc)
public Object visit(ASTTypeArgument node, Object data)(Code)(Java Doc)
public Object visit(ASTWildcardBounds node, Object data)(Code)(Java Doc)
public Object visit(ASTAnnotation node, Object data)(Code)(Java Doc)
public Object visit(ASTNormalAnnotation node, Object data)(Code)(Java Doc)
public Object visit(ASTMarkerAnnotation node, Object data)(Code)(Java Doc)
public Object visit(ASTSingleMemberAnnotation node, Object data)(Code)(Java Doc)
public Object visit(ASTMemberValuePairs node, Object data)(Code)(Java Doc)
public Object visit(ASTMemberValuePair node, Object data)(Code)(Java Doc)
public Object visit(ASTMemberValue node, Object data)(Code)(Java Doc)
public Object visit(ASTMemberValueArrayInitializer node, Object data)(Code)(Java Doc)
public Object visit(ASTAnnotationTypeDeclaration node, Object data)(Code)(Java Doc)
public Object visit(ASTAnnotationTypeBody node, Object data)(Code)(Java Doc)
public Object visit(ASTAnnotationTypeMemberDeclaration node, Object data)(Code)(Java Doc)
public Object visit(ASTDefaultValue node, Object data)(Code)(Java Doc)
public Object visit(ASTRUNSIGNEDSHIFT node, Object data)(Code)(Java Doc)
public Object visit(ASTRSIGNEDSHIFT node, Object data)(Code)(Java Doc)
public Object visit(ASTCompilationUnit node, Object data)(Code)(Java Doc)
public Object visit(ASTEnumDeclaration node, Object data)(Code)(Java Doc)
public Object visit(ASTAssertStatement node, Object data)(Code)(Java Doc)
public Object visit(ASTPackageDeclaration node, Object data)(Code)(Java Doc)
public Object visit(ASTImportDeclaration node, Object data)(Code)(Java Doc)
public Object visit(ASTTypeDeclaration node, Object data)(Code)(Java Doc)
public Object visit(ASTFieldDeclaration node, Object data)(Code)(Java Doc)
public Object visit(ASTVariableDeclarator node, Object data)(Code)(Java Doc)
public Object visit(ASTVariableDeclaratorId node, Object data)(Code)(Java Doc)
public Object visit(ASTVariableInitializer node, Object data)(Code)(Java Doc)
public Object visit(ASTArrayInitializer node, Object data)(Code)(Java Doc)
public Object visit(ASTMethodDeclaration node, Object data)(Code)(Java Doc)
public Object visit(ASTMethodDeclarator node, Object data)(Code)(Java Doc)
public Object visit(ASTFormalParameters node, Object data)(Code)(Java Doc)
public Object visit(ASTFormalParameter node, Object data)(Code)(Java Doc)
public Object visit(ASTConstructorDeclaration node, Object data)(Code)(Java Doc)
public Object visit(ASTExplicitConstructorInvocation node, Object data)(Code)(Java Doc)
public Object visit(ASTInitializer node, Object data)(Code)(Java Doc)
public Object visit(ASTType node, Object data)(Code)(Java Doc)
public Object visit(ASTPrimitiveType node, Object data)(Code)(Java Doc)
public Object visit(ASTResultType node, Object data)(Code)(Java Doc)
public Object visit(ASTName node, Object data)(Code)(Java Doc)
public Object visit(ASTNameList node, Object data)(Code)(Java Doc)
public Object visit(ASTExpression node, Object data)(Code)(Java Doc)
public Object visit(ASTAssignmentOperator node, Object data)(Code)(Java Doc)
public Object visit(ASTConditionalExpression node, Object data)(Code)(Java Doc)
public Object visit(ASTConditionalOrExpression node, Object data)(Code)(Java Doc)
public Object visit(ASTConditionalAndExpression node, Object data)(Code)(Java Doc)
public Object visit(ASTInclusiveOrExpression node, Object data)(Code)(Java Doc)
public Object visit(ASTExclusiveOrExpression node, Object data)(Code)(Java Doc)
public Object visit(ASTAndExpression node, Object data)(Code)(Java Doc)
public Object visit(ASTEqualityExpression node, Object data)(Code)(Java Doc)
public Object visit(ASTInstanceOfExpression node, Object data)(Code)(Java Doc)
public Object visit(ASTRelationalExpression node, Object data)(Code)(Java Doc)
public Object visit(ASTShiftExpression node, Object data)(Code)(Java Doc)
public Object visit(ASTAdditiveExpression node, Object data)(Code)(Java Doc)
public Object visit(ASTMultiplicativeExpression node, Object data)(Code)(Java Doc)
public Object visit(ASTUnaryExpression node, Object data)(Code)(Java Doc)
public Object visit(ASTPreIncrementExpression node, Object data)(Code)(Java Doc)
public Object visit(ASTPreDecrementExpression node, Object data)(Code)(Java Doc)
public Object visit(ASTUnaryExpressionNotPlusMinus node, Object data)(Code)(Java Doc)
public Object visit(ASTPostfixExpression node, Object data)(Code)(Java Doc)
public Object visit(ASTCastExpression node, Object data)(Code)(Java Doc)
public Object visit(ASTPrimaryExpression node, Object data)(Code)(Java Doc)
public Object visit(ASTPrimaryPrefix node, Object data)(Code)(Java Doc)
public Object visit(ASTPrimarySuffix node, Object data)(Code)(Java Doc)
public Object visit(ASTLiteral node, Object data)(Code)(Java Doc)
public Object visit(ASTBooleanLiteral node, Object data)(Code)(Java Doc)
public Object visit(ASTNullLiteral node, Object data)(Code)(Java Doc)
public Object visit(ASTArguments node, Object data)(Code)(Java Doc)
public Object visit(ASTArgumentList node, Object data)(Code)(Java Doc)
public Object visit(ASTAllocationExpression node, Object data)(Code)(Java Doc)
public Object visit(ASTArrayDimsAndInits node, Object data)(Code)(Java Doc)
public Object visit(ASTStatement node, Object data)(Code)(Java Doc)
public Object visit(ASTLabeledStatement node, Object data)(Code)(Java Doc)
public Object visit(ASTBlock node, Object data)(Code)(Java Doc)
public Object visit(ASTBlockStatement node, Object data)(Code)(Java Doc)
public Object visit(ASTLocalVariableDeclaration node, Object data)(Code)(Java Doc)
public Object visit(ASTEmptyStatement node, Object data)(Code)(Java Doc)
public Object visit(ASTStatementExpression node, Object data)(Code)(Java Doc)
public Object visit(ASTSwitchStatement node, Object data)(Code)(Java Doc)
public Object visit(ASTSwitchLabel node, Object data)(Code)(Java Doc)
public Object visit(ASTIfStatement node, Object data)(Code)(Java Doc)
public Object visit(ASTWhileStatement node, Object data)(Code)(Java Doc)
public Object visit(ASTDoStatement node, Object data)(Code)(Java Doc)
public Object visit(ASTForStatement node, Object data)(Code)(Java Doc)
public Object visit(ASTForInit node, Object data)(Code)(Java Doc)
public Object visit(ASTStatementExpressionList node, Object data)(Code)(Java Doc)
public Object visit(ASTForUpdate node, Object data)(Code)(Java Doc)
public Object visit(ASTBreakStatement node, Object data)(Code)(Java Doc)
public Object visit(ASTContinueStatement node, Object data)(Code)(Java Doc)
public Object visit(ASTReturnStatement node, Object data)(Code)(Java Doc)
public Object visit(ASTThrowStatement node, Object data)(Code)(Java Doc)
public Object visit(ASTSynchronizedStatement node, Object data)(Code)(Java Doc)
public Object visit(ASTTryStatement node, Object data)(Code)(Java Doc)
public Object visit(ASTFinallyStatement node, Object data)(Code)(Java Doc)
public Object visit(ASTCatchStatement node, Object data)(Code)(Java Doc)
protected void visitAll(List acus, RuleContext ctx)(Code)(Java Doc)

Methods inherited from net.sourceforge.pmd.CommonAbstractRule
public void addExample(String example)(Code)(Java Doc)
public void addProperties(Properties properties)(Code)(Java Doc)
public void addProperty(String name, String value)(Code)(Java Doc)
public void addRuleChainVisit(String astNodeName)(Code)(Java Doc)
protected static Map<String, PropertyDescriptor> asFixedMap(PropertyDescriptor[] descriptors)(Code)(Java Doc)
protected static Map<String, PropertyDescriptor> asFixedMap(PropertyDescriptor descriptor)(Code)(Java Doc)
public void end(RuleContext ctx)(Code)(Java Doc)
public boolean equals(Object o)(Code)(Java Doc)
public boolean[] getBooleanProperties(PropertyDescriptor descriptor)(Code)(Java Doc)
public boolean getBooleanProperty(String name)(Code)(Java Doc)
public boolean getBooleanProperty(PropertyDescriptor descriptor)(Code)(Java Doc)
public String getDescription()(Code)(Java Doc)
public double[] getDoubleProperties(PropertyDescriptor descriptor)(Code)(Java Doc)
public double getDoubleProperty(String name)(Code)(Java Doc)
public double getDoubleProperty(PropertyDescriptor descriptor)(Code)(Java Doc)
public String getExample()(Code)(Java Doc)
public List<String> getExamples()(Code)(Java Doc)
public String getExternalInfoUrl()(Code)(Java Doc)
public int[] getIntProperties(PropertyDescriptor descriptor)(Code)(Java Doc)
public int getIntProperty(String name)(Code)(Java Doc)
public int getIntProperty(PropertyDescriptor descriptor)(Code)(Java Doc)
public String getMessage()(Code)(Java Doc)
public String getName()(Code)(Java Doc)
public int getPriority()(Code)(Java Doc)
public String getPriorityName()(Code)(Java Doc)
public Properties getProperties()(Code)(Java Doc)
public List<String> getRuleChainVisits()(Code)(Java Doc)
public String getRuleClass()(Code)(Java Doc)
public String getRuleSetName()(Code)(Java Doc)
public String getSince()(Code)(Java Doc)
public String[] getStringProperties(PropertyDescriptor descriptor)(Code)(Java Doc)
public String getStringProperty(String name)(Code)(Java Doc)
public String getStringProperty(PropertyDescriptor descriptor)(Code)(Java Doc)
public Class[] getTypeProperties(PropertyDescriptor descriptor)(Code)(Java Doc)
public Class getTypeProperty(PropertyDescriptor descriptor)(Code)(Java Doc)
public boolean hasProperty(String name)(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
public boolean include()(Code)(Java Doc)
protected Map<String, PropertyDescriptor> propertiesByName()(Code)(Java Doc)
public PropertyDescriptor propertyDescriptorFor(String name)(Code)(Java Doc)
public void setDescription(String description)(Code)(Java Doc)
public void setExternalInfoUrl(String externalInfoUrl)(Code)(Java Doc)
public void setInclude(boolean include)(Code)(Java Doc)
public void setMessage(String message)(Code)(Java Doc)
public void setName(String name)(Code)(Java Doc)
public void setPriority(int priority)(Code)(Java Doc)
public void setProperties(PropertyDescriptor descriptor, Object[] values)(Code)(Java Doc)
public void setProperty(PropertyDescriptor descriptor, Object value)(Code)(Java Doc)
public void setRuleClass(String ruleClass)(Code)(Java Doc)
public void setRuleSetName(String ruleSetName)(Code)(Java Doc)
public void setSince(String since)(Code)(Java Doc)
public void setUsesDFA()(Code)(Java Doc)
public void setUsesTypeResolution()(Code)(Java Doc)
public void start(RuleContext ctx)(Code)(Java Doc)
public boolean usesDFA()(Code)(Java Doc)
public boolean usesRuleChain()(Code)(Java Doc)
public boolean usesTypeResolution()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.