alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Scala example source code file (PECustomMod.java)

This example Scala source code file (PECustomMod.java) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Scala tags/keywords

custommodifier, custommodifier, pecustommod, pecustommod, type, type

The Scala PECustomMod.java source code

package ch.epfl.lamp.compiler.msil.util;

import ch.epfl.lamp.compiler.msil.Type;
import ch.epfl.lamp.compiler.msil.CustomModifier;

/**
 * A PECustomMod holds the info parsed from metadata per the CustomMod production in Sec. 23.2.7, Partition II. 
 * */
public final class PECustomMod {
    
    public final Type marked; 
    public final CustomModifier[] cmods;
    
    /** Terminology: 
        the CustomModifier(s) are markers, 
        and the msil.Type is a type marked by those markers. */  
    public PECustomMod(Type marked, CustomModifier[] cmods) {
      this.marked = marked;
      this.cmods = cmods;
    }

}

Other Scala examples (source code examples)

Here is a short list of links related to this Scala PECustomMod.java source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.