Class ApexTokenizer

  • All Implemented Interfaces:
    net.sourceforge.pmd.cpd.Tokenizer

    public class ApexTokenizer
    extends java.lang.Object
    implements net.sourceforge.pmd.cpd.Tokenizer
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String CASE_SENSITIVE
      If the properties is false (default), then the case of any token is ignored.
      • Fields inherited from interface net.sourceforge.pmd.cpd.Tokenizer

        DEFAULT_SKIP_BLOCKS_PATTERN, IGNORE_ANNOTATIONS, IGNORE_IDENTIFIERS, IGNORE_LITERALS, IGNORE_USINGS, OPTION_SKIP_BLOCKS, OPTION_SKIP_BLOCKS_PATTERN
    • Constructor Summary

      Constructors 
      Constructor Description
      ApexTokenizer()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setProperties​(java.util.Properties properties)  
      void tokenize​(net.sourceforge.pmd.cpd.SourceCode sourceCode, net.sourceforge.pmd.cpd.Tokens tokenEntries)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • CASE_SENSITIVE

        public static final java.lang.String CASE_SENSITIVE
        If the properties is false (default), then the case of any token is ignored.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ApexTokenizer

        public ApexTokenizer()
    • Method Detail

      • setProperties

        public void setProperties​(java.util.Properties properties)
      • tokenize

        public void tokenize​(net.sourceforge.pmd.cpd.SourceCode sourceCode,
                             net.sourceforge.pmd.cpd.Tokens tokenEntries)
        Specified by:
        tokenize in interface net.sourceforge.pmd.cpd.Tokenizer